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

后端 未结 4 1560
借酒劲吻你
借酒劲吻你 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:58

    If they are repeated, you'll have to then in the child application web.config first, then add back the element you'd like it it's place. This is assuming that you'd like to have a different value. If you don't, then just omit the element. A connection string would be a good example of something that is likely common for all applications - so you only need to specify it in the root.

    Example:

        
          
            
            
          
        
    

提交回复
热议问题