Tuesday, December 2, 2008

Web Site vs Web Application project in Visual Studio.net

今日講開VS.net (2005/08)的 Web Site v.s. Web Application,於是就Google了一輪...
MSDN - Introduction to Web Application Projects
http://msdn.microsoft.com/en-us/library/aa730880(VS.80).aspx
MSDN - Web Application介紹
http://msdn.microsoft.com/en-us/asp.net/aa336618.aspx
有關Web Site v.s. Web Application 的blog
http://maordavid.blogspot.com/2007/06/aspnet-20-web-site-vs-web-application.html
http://www.compiledthoughts.com/2008/05/web-site-vs-web-application-project.htmlhttp://petesbloggerama.blogspot.com/2007/05/web-site-project-or-web-application.html

其實看過網上大部份討論,都是比較一面倒支持Web Application instead of Web Site,原因綜合來說可以歸納位:
  1. Better Project/Source Management
  2. Better Consistence across the code
  3. Better Performance - Binaries are pre-compile
  4. Easier Deployment and better protection against un-intented code change
當然,Web Site 是否一無是處呢,這個我不敢說,不過在我角度而言,我就見不到有任何理由要用Web Site了。

最後,都係那句,本人coding經驗尚未算深,如有錯漏,敬請指正~

No comments: