External config source

Topics: Enterprise Library Core
Jun 14, 2007 at 8:14 AM

i'm using FileConfigurationSource to handle my coniguration file.
i wasn't able to find a way to save sections that were changed.

how can i force saving the sections on run-time?

any ideas?

Jun 14, 2007 at 2:34 PM
You can use the classes in System.Configuration to read and write to configuration sections in your configuration file.


I don't believe there are any samples on it, but you can check out the source code for the Configuration Tool that read and writes to your configuration files.




David Hayden
Microsoft MVP C#
Jun 15, 2007 at 6:34 PM

I was trying to open up the project for the config tool, but I was not able to find a .csproj file - am I missing something, or is it not distributed on purpose? I was looking in App Blocks\Src\Configuration\Console folder and did a search in the whole tree but did not find anything... ?