Introduction
This post explains about two project types in Visual studio i.e. Website and Web Application that we use to build the ASP.NET Applications and the fundamental differences between the two project types.
Background
Website project type was introduced in the VS 2005 and Web Application model introduced in VS 2003. Website project type is based on folder structure and does not require a project file. Later in VS 2005 sp1 project file was introduced for the VS 2005 website project type. Now in VS 2008 we can create both project types.


So First difference can be summarized like ASP.NET website project type is dynamic and WebApp is more like structured.
Notice In website project type namespace won't add to the class by default however you can define the namespaces explicitly where as in WebApp it creates the namespace for the class file when you added it to the project.
<codeSubDirectories>
<add directoryName="Testfolder"/>
</codeSubDirectories>
In compilation process you will have the finer degree of control in WebApp and it is not in Website because everything is dynamically compiled.

If you select the precompiled option then you will find the precompiled folder in the published location there you find the multiple assemblies for each folder in the website.
http://blogs.microsoft.co.il/blogs/maordavid/archive/2007/06/03/ASP.NET-2.0-_2D00_-Web-Site-vs-Web-Application-project.asp
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Nicole KhooPosted Jul 26, 2018, 8:34 AM
Thank you, Kalyan For Providing Meaningful data, if someone is working in a web application development company then he should be aware of this.
Dennis ThomasPosted Feb 5, 2018, 3:49 AM
An important advantage of web application project is that, you can avoid copying source code files to the IIS server.
Dennis ThomasPosted Feb 5, 2018, 3:48 AM
Good one. Thank you Kalyan.
Ravi KumarPosted May 1, 2013, 8:50 AM
I have found another article to ans this question visit http://www.etechpulse.com/2013/05/aspnet-difference-between-web-site-and.html
Amresh KumarPosted Jun 19, 2012, 8:36 AM
It was nice topic.
ravi kolavennuPosted Apr 5, 2011, 12:08 PM
How to access user control properties from a class iile in a website. Can you throw some light on this?
tovvala chandrashekarPosted May 26, 2010, 6:42 AM
good topic
SiriPosted Mar 8, 2009, 7:16 PM
Hi Kalyan, Nice article. Looks like point 4 is not really true. 4. WebApp project type is restricted to one language where as Website you can add different language files to the App_Code folder which compiles the files dynamically. Visual studio does not allow different languages files need to be placed under the same App_Code folder. Refer the msdn article below. http://msdn.microsoft.com/en-us/library/t990ks23.aspx
MartijnPosted Feb 25, 2009, 3:11 AM
The link at point 10 is dead..