When creating a webapplication we get a web.config file, if we edit this config file the webapplication will restart.
There is a way to reference another config file in .NET but will this solve the problem?
<appSettings configSource="Config\AppSettings.config"/>
- If I change and save the AppSettings.config, will the service continue to run without stop?
- How will we get the configurations located in AppSEttings.config from within the code?
- If we ask after a specific setting located in AppSettings.config 1000 times in 1 sec, will .NET read the file every time or will to use some kind of cache? And if so listen on changes in AppSettings.config file to do a clear of this cache?