Add Standalone ASP.Net Application Into Existing ASP.Net Website - not working

I have an asp.net '4.5' site (Orion Solarwinds) and I would like to add functionality. This can be done with a virtual directory, but adding anything to that folder will cause a recompile and interrupt service to the user. It should be possible(and done it many times before) to 'just' add a application. So I should be able to use a separate application pool. BUT what happens is that even with a index.html file in an empty application with a web.config in there, it still seems to inherit from the host webconfig. Thus this is not a Standalone ASP.Net Application in an existing website. I have tried to decouple this basic application - no joy. How can I fix this?

Upvotes: 0

Views: 45

Answers (1)

simpleman
simpleman

Reputation: 21

You can try using inheritInChildApplication by wrapping sections you don't want to inherit in host webconfig with this:

<location path="." inheritInChildApplications="false">

There's more details in this other thread

Upvotes: 1

Related Questions