Advertisement

07.23.2008 at 01:17AM PDT, ID: 23587668
[x]
Attachment Details

ConfigurationSettings.AppSettings property

Asked by philipjonathan in .NET, C# Programming Language, .Net Class Libraries

Tags: C#, .NET 1.1, ASP.NET, Cross-browser

What I'm trying to do is to run a WinForm app, which upon initialisation it reads some parameters from the ConfigurationSettings.AppSettings, up to this point, all is fine.
Then while the app is still running, change some parameters in the config file. If at this point in time the app executes ConfigurationSettings.AppSettings again, it will still get the old value instead of the new one.

Question is:
1. Is the configuration settings cached in memory?
2. Is there any straightforward method in the .NET lib to reload configuration settings from file?

Btw, I'm using .NET 1.1Start Free Trial
[+][-]07.23.2008 at 01:33AM PDT, ID: 22067080

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET, C# Programming Language, .Net Class Libraries
Tags: C#, .NET 1.1, ASP.NET, Cross-browser
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.23.2008 at 01:34AM PDT, ID: 22067090

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 01:49AM PDT, ID: 22067172

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 02:20AM PDT, ID: 22067331

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628