when i install my web application, is it possible to add a key to web.config file with the value i wanted and then make web.config file to unreachable?
Thank youYou can put this in your web.config and then reference it by:
ConfigurationSettings.AppSettings("myKey")
<appSettings>
<add key="myKey" value="myValue" />
</appSettings>
yes i know it but i wanted to ask if it is possible to do it in runtime
0 comments:
Post a Comment