Re: Web Site Project vs. Web Application Project



Thanks John. I am quite familiar with the difference between the two in
real practice.

What I'm trying to get clear is specifically in VS 2005 w/SP 1, what would I
do to create a site vs. what do I do to create a web app.

Actually, more specifically, since I do have SP1, it does seem that choosing
an ASP .NET Web Project creats a web app. (like we've had in VS 2003), so
the real question is, how do you create a web site project in VS 2005 w/SP1?

Thanks,

Scott


"John Saunders [MVP]" <john.saunders at trizetto.com> wrote in message
news:upYipDZ7HHA.4660@xxxxxxxxxxxxxxxxxxxxxxx
"Scott M." <s-mar@xxxxxxxxxxxxx> wrote in message
news:urap$WY7HHA.4712@xxxxxxxxxxxxxxxxxxxxxxx
Thanks John.

Is it just a matter of creating a Web Project using "http://...."; or
"C:\...." that determines the type of prject that I get then?

Web Sites are not projects, and Web Projects are not web sites. Note that
Web Site does not appear in the list of project types, and is listed in
the File menu as an equivalent concept to "Project" and "File".

Web Sites are a mistake made by Microsoft, in my opinion. They are useful
for sites that are mostly static and self-contained. If that describes
your site,then feel free to use a Web Site.

A Web Application Project is another kind of project. Like other project
types, they are meant to be used together as part of a solution, to solve
an overall problem. As such, they are meant to do things like reference
other projects, be built together with other projects based on dependency
order, etc. A Web Application Project actually _builds_ and produces
binaries in a directory. This directory may also come to contain other
assemblies referenced by the Web Application Project. Just like any other
project.

A Web Site is a bunch of files on a disk. Code is such a small part of
this concept that it is segregated into a separate directory (App_Code).
This goes as far as to remove codebehind as being too complex. If you need
a little server-side code, just add a little script, right?

At any rate, the error was largely corrected by adding Web Application
Projects as a separate download, and in SP1, returning them to the main
product. The only problem now is that many new developers are led to
believe that Web Sites is the "new way" they're meant to be developing
their applications, which leaves the rest of us to convince them that it's
actually possible for Microsoft to make a mistake.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer



.



Relevant Pages

  • Re: pr and plagiarism
    ... are still sitting at zero so I went to copyscape and put in one of my ... Hi, my name is John ... I have given up on spam reports once I discovered ... matter of fact I now have a web site whereas all the web pages except ...
    (alt.internet.search-engines)
  • Re: Update footer Fields
    ... Word MVP web site http://word.mvps.org ... John wrote: ... >> Dim oSection As Section ...
    (microsoft.public.word.vba.general)
  • Re: Kernel32.dll Crash
    ... John Blackwell wrote: ... I can't locate the post to the Spyware forum. ... > web site still persists in crashing at every opportunity. ... When you run LiveUpdate for your Windows-based Symantec program to ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: A very important IF.
    ... To John DH, ... I once used Blue Sky Technologies Ltd to make my web site available ... the best thing to do is to change Internet Supplier ...
    (uk.telecom.broadband)
  • Re: Recipe of Yummy Apple Cake
    ... John the R-T skrev: ... Thanks Anders but anyone going to the web site may not have read the ... Melt the butter in the ceramic pan. ...
    (uk.people.silversurfers)