Wednesday, August 24, 2005 - 15:23

Saving app settings in dotnet

I have this app where I just wanted to save a couple of little settings in the app.config file. Retrieving them was easy enough, but I couldn't figure out how to write them to app.config.

Turns out, you're not supposed to use app.config to store app settings (it's meant for once-off, deployment time settings, not runtime settings). And it just seems like way too much effort to reading and writing my own xml file ...

Step in Profile, by Alvaro Mendez. It's brilliant - easy to use, and it stores/reads to/from .ini files, the registry, config files, or xml files. It's the way app.config should work. It's what microsoft should have included in .net for storing user app settings.

Labels:

0 Comments:

Post a Comment

<< Home