Changing my "Website" Project into a "Web Application"

liptonIcedTea

Well-known member
Joined
Jan 18, 2007
Messages
89
Programming Experience
1-3
Hi,

I have an ASP.NET application that I'm building, and when I was creating the UI for it, I selected "Add New Web Site" instead of "Add New Item" -> "New Web Application"

I'm not sure between the difference a "Website" and a "Web application" but the property pages seem to be a lot different, there seems to be much more functionality in a web application.

One of the functionality that I require is to automatically set up an IIS Web server for me to use. So is it possible to convert my web site into a web application?

Thanks in advance.

PS - It'll be good if someone can explain to me the difference.
 
There's really no more functionality in a web application; the same functions exist in a web site, just in different places.
The major difference between the two is that the Web Applications uses a project file based structure where all code in the project is compiled into a single assembly.
In a Web Application, the classes are precompiled; in a web site, the pages are dynamically compiled at runtime by ASP.NET.

See Upgrading VS 2005 Web Site Projects to be VS 2005 Web Application Projects for an upgrading tutorial presented by Scott Guthry, general manager of Microsoft's Developer Division.
The same page has links to other tutorials giving context on the Web Application Project model.
 
Back
Top