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
Post a Comment