Let’s take a moment to investigate the differences between the two project models.

■ Web Site projects are special cases. They do not behave like any other project type in Visual Studio.

■ Web Application projects have a project file. Web Site projects do not.

■ Web Application projects compile into one monolithic assembly DLL; to run and debug pages, the entire project must be compiled every time. Web Site projects
compile dynamically at the page level; each page can be compiled and debugged
independently.

■ The Express editions of Visual Studio do not support the Web Application project type. So if you're using Visual Web Developer Express Edition or planning to share code with developers who only have access to this tool, you should use Web Site projects.

■ For small, Demonstration projects, the Web Site model is often more appropriate than a full-blown Web application. If your project is simple, choose the simple Web site project type.

■ Web Application projects are deployed “all at once,” as a single DLL, along with necessary static content files. Web Site projects are deployed as a set of files, each of which can be updated independently.

Each project type has its strengths and weaknesses, and Visual Studio 2005 will continue to fully support both project types, so either is a valid choice.

Category : | Read More......