// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
Google / Android
Python / IronPython
SQL Server
Test: Which one to use: Web Project or Web Site?

4. By default, if you used the Web Site option in ASP.NET to create a new web program, where will the solution file be stored?

Congratulations! Correct Answer.
You Answered: None. If you took the test, your answer will show up here.
Correct Answer: In the users directory like C:\Users\Administrator\Documents\Visual Studio 2008\Projects\FirstWebSite
In case of the Web Site, the solution file (e.g. FirstWebSite.sln) will not be in the root directory of the site (i.e. …\FirstWebSite). It will be in the Users directory like C:\Users\Administrator\Documents\Visual Studio 2008\Projects\FirstWebSite. This makes sense, because, you don’t need or want to copy the solution file to the production server. If it were included with the .aspx files, then you would have to consciously exclude that file when copying the entire directory to the server.
Take the Test
Take the complete test on this topic. You will be able to review answers to questions and get a test score.

Take the Test

Question 4 of 5

Test is Based on this Article
Visual Studio / ASP.NET offers two ways developing a web program - a Web Project model and a Web Site model. Which fits where?
Visual Studio 2005 and Visual Studio 2008 offer two options for creating an ASP.NET web program – a Web Project or Web Site. This article discusses the main reasons why you would choose one over the other.

More Articles With Similar Tags
This article explains and dissects the pieces involved in creating the first web program in C# using the Web Project method (as opposed to the Web Site method).
How do you develop an ASP.NET program using the Web Project model?
This article explains and dissects the pieces involved in creating the first web program in C# using the Web Site method (as opposed to the Web Program method).
What is involved in developing a web-based program using the C# programming language with Web Site - Solution as the model.
This test has questions on developing first console (shell) based programs using the C# programming language.
About  Contact  Privacy Policy  Site Map