How can I reference an appSetting in a different part of web.config

前端 未结 2 1190
梦如初夏
梦如初夏 2020-12-03 14:29

I have my appSettings defined in a separate config file called Appsettings.Dev.Config, and I include that file inside my web.config fi

2条回答
  •  爱一瞬间的悲伤
    2020-12-03 15:10

    Nope, the web configuration file cannot pull "settings" from itself; it's not dynamic at all. The only sort of dynamic functionality is the ability to include other .config, but that's just a "suck all these settings in as if they were part of me" kind of thing.

提交回复
热议问题