Same app in IIS twice?

  • Thread starter Thread starter Guest
  • Start date Start date
David said:
Hi;

Not sure if this is an ASP or IIS question.

Can I point to the same ASP.NET app in IIS twice, once as a website (where
it is the default application) and once under the Default Web Site where it
is a named application? In both cases I would point to the same directory.

Yes, you can. I have set up a web site that has it's own domain, a
subdomain under another domain, and a virtual directory in another
subdomain to that domain.
 
Hi

if it's IIS6 , yes , I think so , but haven't test it
and don't forget to put them on different application pools
 
Hello Dave,

Theoretically, you can create two two IIS application(no matter root or
non-root) that point to the same physical folder. Basically, ASP.NET
runtime will only read page file or other components and copy assemblies or
other dyanmic resource to temporary location. However, if your application
has code logic that will do some modification in the application directory,
it will result to problem. Would you provide some further information of
your application scenario?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top