Nested ASP.NET 'application' within IIS inheriting parent config values?

后端 未结 4 1549
借酒劲吻你
借酒劲吻你 2020-11-30 03:22

I currently have 2 x ASP.NET 3.5 web applications in IIS7 (lets call them WebParent and WebChild).

WebChild is nested within the WebParent listing in IIS7 and is set

4条回答
  •  时光取名叫无心
    2020-11-30 03:49

    I think the inheritInChildApplications="false" is good for cases where you still want to inherit some part of the configuration from the parent. In cases where you want to completely stop inheritance (as in this case if I'm correct), I'd suggest to use 2 separate application pools for the 2 apps and then apply a not very well documented setting in the applicationHost.config file as I explained in this question “Entry has already been added” - Two Separate App Pools

    
        
    
    

提交回复
热议问题