Thursday, April 10, 2008

Web Application Projects vs Web Site Projects

Maor David had a great post on Web Application Projects vs Web Site Projects. Details is here:

There is also a great MSDN article on this: Scroll down to the section "Comparing Web Site Projects and Web Application Projects".

In addition to the articles above, one thing I dislike the web site project is VS always put the solution file (.sln) is inside the My documents folder. I like to put the solution file in the same folder as the web site in. Here is the simple work around to do this:
  1. Create a blank solution file first (file -> new project -> other project types -> virtual studio solutions -> blank solution).
  2. Add the website in the solution (right click the blank solution -> Add new website).

No comments: