简体   繁体   中英

Prevent web.config inheritance to a specific application in IIS

I have so many applications configured under a IIS domain. But this WCF application doesn't need the parent web.config. It has its own web.config. How can I prevent it ?

If you are using II7+ then IIS Locking can help

IIS 7.0 and above allows locking and unlocking configuration settings in various levels and scopes. Locking down configuration means that it cannot be overridden (or set at all) at lower levels in the hierarchy. Unlocking configuration can only be done at the level where it was locked. This is useful, for example, when creating different configuration for different sites or paths, and only some of sites and paths are allowed to override it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM