Visual Studio 2005: File-> New-> Project vs File-> New-> Website?

Let's say I want to create a vb.net application in Visual Studio 2005. What is the difference between File-> New-> Project vs File-> New-> Web Site?

EDIT

I know there are many more options available when using New-> Project, but if you only want to create a .net web application, would it make any difference which option you choose?

0


source to share


2 answers


There is a good link here about WAP (Web Application Projects) and the differences between WAP and Web Projects.

In 2003 your only option (if I remember correctly) was WAP. In 2005, the concept of website projects was introduced where all your code is uploaded to the server and compiled into DLLs on first access. This makes it easy to modify your code without having to compile and publish the DLL.



Not many people liked this new way of doing it, so MS created an update to allow WAP in 2003 style in 2005. 2008 retains both options.

The File-> New-> Web site option is the only way to create a website application (or at least it's in 2k8). The only way to create WAP is to do File-> New Project-> Web → ...

+3


source


If you build a project, all cs files in your project will be compiled into one DLL. Instead, if you choose to build a website, your entire app_code will be compiled and cached on the fly.



+2


source







All Articles