asp.net - Conditional Web.config depending on parent Web.config -


in app there 1 web.config in root folder , 1 in folder below. depending on content of root web.config i'd sub-web.config apply different settings, i.e.:

root web.config says: "we're in mode a." -> subfolder web.config applies various settings (e.g. appsettings, system.web elements) "mode a".

and there "mode b" , "mode c".

is somehow possible? in case web.config transforms not suitable, neither application-level logic (due how asp.net works need activate , de-active parts of subfolder web.config).


Comments

Popular posts from this blog

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -