tags:

views:

35

answers:

2

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.

A: 

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.

http://msdn.microsoft.com/en-us/library/system.configuration.configurationmanager.refreshsection%28VS.80%29.aspx

Andy Shellam

related questions