Follow in Twitter & Facebook



Like in Facebook

Powered By Blogger Widgets

Free Download

FREE Tools



Sunday, April 22, 2012

Difference between web application and web site in Asp.Net

Introduction:
In this article we will discuss about What is the difference between a web application and web site in Asp.Net. Also you can check my last SQL Server article on Constraints in SQL Server 2008 and also you can check Strings and StringBuilder in C#.

Description:
Actually there is no hard and fast rule, wether you should go for Asp.Net web application and Asp.Net web site. But both have there advantages and disadvantages.

- Web Site project is compiled on the fly, so it compiles one or more dlls but web application complies the project into a single dll.

- But both supports IIS and the built-in ASP.NET Development Server.

- In case of web site each page has it's own assembly.

- If you really like single-page code model to code-behind model then you should go for web site.

- You can add an MVC application to a web application.

- If you want to migrate large Visual Studio .NET 2003 applications then web application is the option.

- If you want to add multiple web projects then Web application is the option.

Also you can follow more on this article
http://msdn.microsoft.com/en-us/library/aa730880(v=vs.80).aspx

http://blogs.msdn.com/b/aspnetue/archive/2009/12/14/asp-net-web-application-projects-vs-web-site-projects-in-visual-studio.aspx




0 on: "Difference between web application and web site in Asp.Net"