Compiling ASP.NET application without IIS

  • Thread starter Thread starter gkelly
  • Start date Start date
G

gkelly

I don't see the need to have IIS installed simply to compile an ASP.NET app.
I suppose I could just use the command line compiler. But this is part of
a much much large compile that consists of may different solution files.
This is just one. Is there a way to compile an ASP.NET application using
the IDE without having to connect to IIS?

gkelly
 
gkelly said:
I don't see the need to have IIS installed simply to compile an ASP.NET app.
I suppose I could just use the command line compiler. But this is part of
a much much large compile that consists of may different solution files.
This is just one. Is there a way to compile an ASP.NET application using
the IDE without having to connect to IIS?

As far as I know, there is not.

The idea is that a "web project" isn't really just some files on the disk.
It's really some files retrieved from a web server. You've got to have a web
server to retrieve the files from.

In VS2005 this is improved. A "web site" (note - not a "web project"
anymore) can be located on the file system, on your local IIS server, on an
FTP server, or on a remote web server.
 
You don't need IIS to compile a web application. IIS has nothing to do with
compilation. You do however, need IIS to have VS .NET generate a web
project.
 
Scott M. said:
You don't need IIS to compile a web application. IIS has nothing to do with
compilation. You do however, need IIS to have VS .NET generate a web
project.

Scott, would this still be the case if there were a difference between the
IIS virtual directory structure and the on-disk structure?

Also, do you know of a way to compile using the IDE without IIS?
 
Scott, would this still be the case if there were a difference between the
IIS virtual directory structure and the on-disk structure?
Yes.


Also, do you know of a way to compile using the IDE without IIS?

You don't need to have IIS on the same machine that you have VS .NET on, but
you DO need to have IIS on a machine that you can connect to.
 
Scott M. said:
You don't need to have IIS on the same machine that you have VS .NET on, but
you DO need to have IIS on a machine that you can connect to.

Right, this is where I think we may be talking past each other. In general,
you need IIS. In certain specific cases, you might not.
 
Back
Top