AppSettings

  • Thread starter Thread starter INeedADip
  • Start date Start date
I

INeedADip

System.Configuration.ConfigurationManager.AppSettings["ConnectionString.SystemDB"]

Does this touch the config file every time? If I am using something like
this in my web application, isn't that a lot of IO?
 
System.Configuration.ConfigurationManager.AppSettings["ConnectionString.SystemDB"]

Does this touch the config file every time? If I am using something like
this in my web application, isn't that a lot of IO?

I believe the values in your app config file are loaded into memory when
the application starts and stay there until the application is either
stopped or the file is modified (at which time the values are reloaded from
the file).
 
Back
Top