Wednesday, July 22, 2009 12:42 PM (UTC+10:00)

New WebSite is here

by greatway
From today, we publish our new website

Thursday, August 28, 2008 2:07 PM (UTC+10:00)

New WebSite

by greatway
As for the convenience of developing and increasing website speed, Diaryspace will be terminated by the end of this month( August 2008). All blog file and old information will be transferred to OZSP. Our dedicated Server.

Tuesday, July 08, 2008 3:48 PM (UTC+10:00)

How to generate Migration Document

by greatway

How to generate Migration Document1

 This document was used to generate migration document. The main component we used include VSS, word document macro and VB component.

1. When checking in source code or binary file in Visual source safe, in comment you can put the key work like 1234.
2. Cerate a word document template.
3. In Tools --> Options --> Security --> Security Level set medicum.
4. In Tools --> Options -->Veiw check show bookmarks
5.  Write your document template
6. In Tools --> Macro --> Visual Basic Editor, write you code interact with source safe, retrieve code changes by comment.
7. In edit, create a form to retrieve key.
8. New the document, it will automatically get the information from your macro code.

Monday, June 23, 2008 2:24 PM (UTC+10:00)

How to debug ASP page plus VB Business Component

by greatway

After browse internet to find how to debug Asp page, but it seems no good answer. So I list some tricks here. 

It is easy to debug ASP pages Visual studio, which not only debug server side script and also client side script.We need set up the following things before we start Debug

1. Open Internet Explorer browser, in Tools-Internet options - Advanced -- uncheck disable script debugging

2. run inetmgr to open IIS manager, In Default web site properites -- home directory -- configuration --Debuggering , check the enable ASP server side debug and enable ASP client side debug.

3. Still in IIS manager, right click Virtual directory you will to debug, In Security Tab, check intergrate windows.

4.Open the Visual Studio 2005 or 2008 (There more things need to be done for VS 2003).In File - Open - Website, you can select the Virtual Directory you like to open .

5. Set startup page by right click the page in solution explorere. Then run your project. When Started, In Menu - Debug click "Attach to Process", when the new dialog opened you check show processes from all users, you will see a process called dllhost.exe whose user name is {your computer name}\IWAN_{computer name}User

6. Set the break point your code. When the page start, you can go to script explorer (under debug windows), you can set client side script as well. 

7. Good luck

some tricks in Debug Client side script

One thing that irritated me sometimes is that studio 2005 has running documents moved to something called Script Editor. Its not enabled by default so you need to do the following in the Visual Studio 2005 IDE and sometimes it seems lost in VS2005

* Tools > Customize.
* Select the Command Tab
* Select Debug from the list, on the right hand side drag Script Editor somewhere.

This will enable you to have running documents which allow you to debug client side script. Start up the application in debug mode. Navigate to the page you wish to debug and then have a look in Script Editor. You will see all active documents that are on the client. Insert a breakpoint as you would with normal server side .

 

Tags: ASP Debug

Thursday, May 29, 2008 11:46 PM (UTC+10:00)

The Road Map of Diaryspace

by greatway

Currently the main website has 3 parts.

  • The main part is portal, which is acted as proxy to other Web application. In this portal application we prepared a few module. All the module can be easily plugged into different part  of the application. The modules is including HTML page, contract, annoucement, RSS reader and others
  • The second part is our blog. Currently blog provide both English and Chinese, which is easily for different reader.
  • The Third part is User Membership. This part will be greatly supports by diaryspace team.Cool

User Memebership is developed by the lasted .Net techology. MVC  archtecture. User Membership will be focused on community service. it will provide booking services and register services across service provider and normal client. It also increase the communication across all members, providing security and fast connection.

Sunday, May 25, 2008 12:36 AM (UTC+10:00)

New Blog is published

by greatway

This blog is in trial stage. we have the following features:

This blog can be used as chinese and english.

All the photo will be resized when you upload your photo.

Providing RSS feed with Chinese and English.

All the suggestions are welcomed.

This blog will be focused on how we  use the .NET technology to build a Website. The Website (Diaryspace) will be dedicated to provide a list of community services.