Whan is a appsetting read

  • Thread starter Thread starter Thomas
  • Start date Start date
T

Thomas

Hi,

Is an appsetting "mysetting" read from disk every time it's referenced in
code with
ConfigurationSettings.AppSettings.Get("mysetting")

?

- Thomas
 
Thomas,

ASP.NET employs a way similar to the shadow copying mechanism for
assemblies.
The timestamp of the web.config file is monitored and any changes cause it
to be reapplied

Hope this helps,

HD
 
Back
Top