1.Vista 開發 ASP.NET 沒有Administrator權限,不能用F5進入偵錯模式。
2.CustomValidate的Server端驗證,如果需要頁面的相關驗證與否來決定事情,需要檢查Page.IsValied。
3.開發ASP.NET時Session會因開發工具重新編譯網站or資料庫讀取,把Session清掉。
下面幾點是程式習慣上的建議:
1. String.IsNullOrEmpty("xxx") 取代 xxx == ""
2. String xxx = String.Empty; 取代 String xxx = "";
可以改進執行上的效能。
By Jamestsai
PS. VS 2005 SP1 for Vista 終於出了...