Windows Vista Beta | WinVistaBeta.com - Message | Creating a new project -> Use Web Site or Project->Web Site

November 20, 2008  
Subject: Creating a new project -> Use Web Site or Project->Web Site
Group: microsoft.public.vstudio.general
Date: 8/14/2008 9:05:50 AM
From: "Mufasa" [Email Address Protection]

What's the difference in VS2005 between choosing File->New->Web Site->AJAX
Enabled Web Application and File->New->Project->Visual C#->AJAX Enabled Web
Application?

TIA - Jeff.



Back
Subject: Re: Creating a new project -> Use Web Site or Project->Web Site
Group: microsoft.public.vstudio.general
Date: 8/14/2008 9:35:15 AM
From: "John Saunders" [Email Address Protection]

In my often-repeated opinion:

A web site is not a project. Almost everything else in Visual Studio is a
project. Keep that in mind. I personally don't think that browser-based
applications are so different from everything else developed in Visual
Studio that they should not be projects.

If you are creating a single web site, that is about content plus a little
business logic or data access, then maybe a Web Site "project" is good
enough for you.

But if you are creating an application, that happens to have a browser-based
UI, then you are better off creating a Web Application Project.

For the introduction of Visual Studio 2005, someone in Microsoft got the
idea that we all needed simplicity. As a result, they introduced "web
sites", and got rid of the Web Application projects people had successfully
been using since .NET 1.0.

Shortly after, they introduced Visual Studio 2005 SP1, which brought Web
Application Projects back.

--
John Saunders | MVP - Connected System Developer

"Mufasa" <jb@nowhere.com> wrote in message
news:O5$Pgei$IHA.4780@TK2MSFTNGP05.phx.gbl...
> What's the difference in VS2005 between choosing File->New->Web Site->AJAX
> Enabled Web Application and File->New->Project->Visual C#->AJAX Enabled
> Web Application?
>
> TIA - Jeff.
>
>

Back