Yesudass
Yesudass

Reputation: 35

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 ?

Upvotes: 1

Views: 321

Answers (1)

Neil Thompson
Neil Thompson

Reputation: 6425

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.

Upvotes: 1

Related Questions