Posts

Showing posts from January, 2011

ASP.NET Web Application vs Web site Projects

Web Application : 1. All Code behind files and standalone class files are compiled into a single assembly. 2. Explicit namespaces are added to pages, controls, and classes by default. 3. The Visual Studio code analysis feature works. 4. Compiling in advance makes sure that users do not have to wait while the site compiles on the production server. Website : 1. Web site projects are compiled dynamically by ASP.NET. basically we have two compilation mode a. Batch compilation mode-> which produces the assembly for folder. b. Fixed compilation mode-> which produces the one assembly for each page or user control. 2. Explicit namespaces are not added to pages, controls, and classes by default, but you can add them manually. 3. Visual Studio code analysis feature does not work. 4. You can test specific pages regardless of the state of other pages. 5. It is easy to update a Web site in production.