how to update App.config. these two articles are one good option.
-
ConfigurationManager.RefreshSection Method (String) -- basic function
this code snippet has basic logic to use app.config file.
-
How to modify / delete keys the AppConfig file
syntax on how to remove, add and modify key pairs.
-
C# - app config doesn't change
this explains why app.config file is not changed in debugging mode under Visual Studio IDE.
- Microsoft Enterprise Library for .NET 2.0: Configuration
- Read/Write App.config with .NET 2.0/Enterprise Library
- Being Scott Densmore on Enterprise Library
Here we can find generic answers to resolve some confusions.
- App.config reloading
- Why my changes of AppSettings in App.config is not taken into account in run-time? (Console Application)
- Changing App.config at Runtime
- Setting useLegacyV2RuntimeActivationPolicy At Runtime
- How to: Configure an App to Support .NET Framework 4 or 4.5
- App.Config Files
- Writing to Your .NET Application's Config File
- Building a better .NET Application Configuration Class - revisited
- Is it possible to read runtime changes in App.config?
- Switching Configuration Files for Debug and Release Modes
- Why my changes of AppSettings in App.config is not taken into account in run-time? (Console Application)
- Modify App Configuration while running application , C#.NET
- Refreshing the .NET Application to Read Modified Configuration Files Values
- Refresh AppSettings keys
- ConfigurationManager RefreshSection not "refreshing"
- How to Change .NET Configuration Files at Runtime (including for WCF)
- How do I reload/refresh app.config?
more research papers below:
No comments:
Post a Comment