ASP.NET Web Application = Web Site???

G

Guest

I've recently converted to VS2005 and I've noticed that their is no more
ASP.NET Web Application, but there is a New Website option. Are these two
things the same, or is a Web Application different then a website.
 
J

Juan T. Llibre

Yes, they're the same...as far as VS 2005 is concerned.
When you create a website in VS 2005, you are creating an IIS application.

As far as IIS is concerned, no, they're different things.

In IIS, an Application and a Web Site are two different things,
although in IIS, an application and a virtual directory are similar.
 
J

Juan T. Llibre

re:
When you create a website in VS 2005, you are creating an IIS application.

I should be a bit more precise.

When you create a website in VS 2005, if you choose "http",
instead of "file system", you are creating an IIS application.
 
L

Laurent Bugnion

Hi,
I've recently converted to VS2005 and I've noticed that their is no more
ASP.NET Web Application, but there is a New Website option. Are these two
things the same, or is a Web Application different then a website.

Websites and Web Applications have different modes of compilation. With
a Web Application, you can specify the assembly's name, the output
directory, etc... just like in VS2003.

Check this:
http://webproject.scottgu.com/

HTH,
Laurent
 
J

Juan T. Llibre

Let's keep in mind that what VS calls a "Web Application"
is not the same as what IIS calls a "Web Application".

Otherwise, fine.
 
L

Laurent Bugnion

Hi Juan,
Let's keep in mind that what VS calls a "Web Application"
is not the same as what IIS calls a "Web Application".

Otherwise, fine.

Thanks for clarifying. I thought that the OP was asking about the web
application project (and I had read your answer, too), because it is
also exactly what puzzled me when I started VS2005 the first time,
coming from ASP.NET 1.1.

For my enlightment, would you care to explain what the exact difference
is between IIS virtual directory and IIS web application?

Greetings,
Laurent
 
J

Juan T. Llibre

re:
For my enlightment, would you care to explain what the exact difference is between IIS virtual
directory and IIS web application?

That would take a lot of explanation.

I will refer you to a very good description of the differences, at :

http://www.perfectxml.com/ASPNETConfig.asp

Basically, a virtual directory can be a subdirectory of an Application, but if you
create an Application out of the same physical directory, it will show up as a
different branch of the root Application.
 
L

Laurent Bugnion

Hi Juan,
re:



That would take a lot of explanation.

I will refer you to a very good description of the differences, at :

http://www.perfectxml.com/ASPNETConfig.asp

Basically, a virtual directory can be a subdirectory of an Application, but if you
create an Application out of the same physical directory, it will show up as a
different branch of the root Application.

Excellent. I'll read that. Thanks,
Laurent
 
J

Jon Paal

it gets even more confusing when people use Visual Web Develeoper, then they find references to 'solutions', 'projects' and 'files'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top