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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -