I have my appSettings
defined in a separate config file called Appsettings.Dev.Config
, and I include that file inside my web.config
file like so
<appSettings configSource="ConfigFilesAppSettings.Dev.config"/>
Lets say one of the settings in the file is
<add key="MailerEmailAccount" value="myemail@myserver.com" />
Can I access the value of the setting MailerEmailAccount
elsewhere inside web.config? How?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…