Hello every one.
Is it posible to re-cache app.config? for example after changing some fields in app.config do not restart application.
Thanks.
Hello every one.
Is it posible to re-cache app.config? for example after changing some fields in app.config do not restart application.
Thanks.
Have a look at this answer: http://stackoverflow.com/questions/502411/change-connection-string-reload-app-config-at-run-time
You can refresh certain sections of the configuration file using the ConfigurationManager
class so the next time that section needs to be read, it's pulled from disk.