When starting a new Web site project in Visual Studio 2010 one has the choice between creating a Web Application Project and creating a Web Site Project. These two different project types were introduced with Visual Studio 2005 and have stayed as options with the Visual Studio line. The differences between the two project types have a fairly important impact on how the project is maintained.
The primary difference between the two project types is that a Web Application project has a project file while a Web Site project does not. The project file acts as a file manifest so with a Web Site project one can dynamically add files outside of Visual Studio to the folder structure. This is nice for some projects and developers because individual pages can be updated without re-deploying the entire project. On the other hand, a Web Application project leans more towards code-behind and structured code releases since one needs to register any new file with Visual Studio so that it will be added to the file manifest. (more…)

