What is the difference between project and web site application in Visual Studio 2010?
Asked by
Ranimi23 (
1917)
November 5th, 2010
Odd question perhaps, but most of the time I work primarily with web site application, but I see the at my work they work with project. What is the different? When to use which?
Observing members:
0
Composing members:
0
2 Answers
I don’t use visual studio, but my guess is project mode refers to developing an application to run on your own machine, whereas Web site app. refers to developing it for the directory structure on a remote server, where you can walk up the directory tree using relative URLs by referencing the www root with ”../” before a relative path.. That’s what it’s meant in similar toools I have used. Check the help files to see if that’s it.
Visual Studio separates projects and web site applications because a website application needs a little more to work than a regular project. For example, a website application contains options to configure IIS (Microsoft’s HTTP server, the Apache equivalent) and other debugging stuff. You could theoretically develop a web application inside a regular project, but you’d have to manually configure all the IIS stuff yourself.
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.