Will a child application inherit from its parent web.config?

后端 未结 4 1226
醉话见心
醉话见心 2020-12-17 23:05

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?

4条回答
  •  情深已故
    2020-12-17 23:36

    What you do is change the parent .NET 4 app's web.config to indicate its settings shouldn't flow down to the children

    
       
        ...your system.web stuff goes here
       
    
    

    For more details refer here http://www.hanselman.com/blog/ChangingASPNETWebconfigInheritanceWhenMixingVersionsOfChildApplications.aspx

提交回复
热议问题