Click here to Skip to main content
11,435,451 members (65,634 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
When to use Web Application Projects and Web Site Projects???
Which is more advantageous if i hvae an dependant project??
Posted 9-Jan-13 21:43pm
Tejal S1.9K
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Comments
Member 9725940 at 10-Jan-13 2:50am
   
Thank u sir
Marcus Kramer at 15-Jan-13 9:58am
   
+5. These are the best links here.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Member 9725940 at 10-Jan-13 2:50am
   
Thank u sir
Suvabrata Roy at 10-Jan-13 2:52am
   
Welcome...
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Please check out the below informative links.
1. ASP.NET: Web Site or Web Application?[^].

Website:

The Web Site project is compiled on the fly. You end up with a lot more DLL files, which can be a pain. It also gives problems when you have pages or controls in one directory that need to reference pages and controls in another directory since the other directory may not be compiled into code yet. Another problem can be in publishing.

If Visual Studio isn't told to re-use the same names constantly, it will come up with new names for the DLL files generated by pages all the time. That can lead to having several close copies of DLL files containing the same class name, which will generate plenty of errors. The Web Site project was introduced with Visual Studio 2005, but it has turned out not to be extremely popular.

Web Application:

The Web Application Project was created as an add-in and now exists as part of SP 1 for Visual Studio 2005. The main differences are the Web Application Project was designed to work similar to the Web projects that shipped with Visual Studio 2003. It will compile the application into a single DLL file at build time. In order to update the project it must be recompiled and the DLL file published for changes to occur.

Another nice feature of the Web Application project is it's much easer to exclude files from the project view. In the Web Site project, each file that you exclude is renamed with an exclude keyword in the filename. In the Web Application Project, the project just keeps track of which files to include/exclude from the project view without renaming them, making things much tider.
Check the other answers also.

2. Web Application Projects versus Web Site Projects in Visual Studio[^]. You will every details here.

Thanks...
Comments
Member 9725940 at 10-Jan-13 4:05am
   
Thank you :)
Tadit Dash at 10-Jan-13 4:43am
   
Anytime, My pleasure.
Thanks for accepting the answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web04 | 2.8.150428.2 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100