Difference between Project and Website

Posted by Singarapu_Kranthi under Visual Studio on 3/7/2012 | Points: 10 | Views : 20348 | Status : [Member] | Replies : 8
Difference between New--> Project and New -->Website in Visual Studio..when to choose and what..Please explain.

Thanks




Responses

Posted by: Gow.Net on: 3/7/2012 [Member] Starter | Points: 25

Up
0
Down
refer:
http://stackoverflow.com/questions/398037/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.

Reference:http://www.megasolutions.net/AspNet/difference-between-Web-Site-and-Web-Application-Project-27210.aspx

gowthaman8870226416

Singarapu_Kranthi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 3/7/2012 [Member] Silver | Points: 25

Up
0
Down
Also refer this link
http://stackoverflow.com/questions/590501/difference-between-web-site-and-project-in-visual-studio

More information here
http://codeasp.net/forums/asp-net-topics/visual-studio/252/difference-between-website-and-project-in-visual-studio-2008

Singarapu_Kranthi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hmanjarawala on: 3/7/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi plz refer
http://www.eggheadcafe.com/community/csharp/2/10036174/whats-the-major-difference-between-windows-and-web-applications-.aspx

* Windows application based on local machine,Web application based on server(By default case)
* Windows application(Local resource access) has more fast compare to web application
* Update wise windows application has to install in every specific machine,web application can update in Server only
* Windows application programs are EXE files for DOS and Windows systems.
* This application run on desktop only. and this application program is .exe file for DOS and window system. This .exe file is executable file so computer
directly execute that file.
* Windows applications is used to create the application oriented programming.it's also run in localhost system only. Web application is used to create the web oriented programming.it's also run in Internet and any browser. windows application is the best for updating purpose.

* web application is the best for multi user application
* web application is an application that is accessed over a network such as the Internet or an intranet
* this is only application that access from internet or network.
* Web application Deploying client-based software can be very difficult,especially COM-based client Software.The downside of web based application is that they cannot provide rich user Experience. but in Windows application it is Suitable

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Singarapu_Kranthi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 6/14/2012 [Member] Bronze | Points: 25
Posted by: Muhsinathk on: 6/14/2012 [Member] Bronze | Points: 25
Posted by: Davidaldrich on: 6/15/2012 [Member] Starter | Points: 25

Up
0
Down
Website application are Only files that are referenced in the project file are part of the project, are displayed in Solution Explorer, and are compiled during a build. Web site projects use the folder structure to define the contents of the project. There is no project file and all files in the folder are part of the project.


For more information visit at http://www.indianic.com/asp-net-web-development.html

Singarapu_Kranthi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Abhisekjani on: 6/20/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Gow,
Reger the link this may help for you
http://stackoverflow.com/questions/590501/difference-between-web-site-and-project-in-visual-studio

Singarapu_Kranthi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 6/29/2012 [Member] Silver | Points: 25

Up
0
Down
Mark as Answer if its helpful to you,that motivates...

Singarapu_Kranthi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response