I setup a IIS application from within an existing application.
Will the parents web.config be inherited or is that something I have to set explicitly?
See Question&Answers more detail:osI setup a IIS application from within an existing application.
Will the parents web.config be inherited or is that something I have to set explicitly?
See Question&Answers more detail:osYes it will without setting anything explicitly, and I don't know any way to prevent it.
However many configuration sections will allow you to clear data inherited from parent files.
E.g.
<appSettings>
<clear/>
<add key=...>
</appSettings>
<connectionStrings>
<clear/>
<add ... />
</connectionStrings>