AppSettings


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?
 
Ad

Advertisements

T

Tom Porterfield

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

AppSettings 2
AppSettings 2
AppSettings problem 2
StringDictionary and AppSettings 0
appSetting Parameter 2
AppSettings in Whidbey Express 2
appSetting in .Config file 6
appSettings in config file 0

Top