I feel like I am always reinventing the wheel for each application when it needs to load/save general settings to an xml file. What is the best way to manage basic application settings that the user can adjust and need to be saved/restored?
I like the use of custom configuration sections in .config files coupled with loading external .config files instead of the standard app.config.
Are you using Visual Studio? There's a built-in settings manager and I find it works well for most situations. Just don't forget to call Settings.Save()
before the application quits.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With