How to save preferences for an app?

  • Thread starter Thread starter Sam Hulick
  • Start date Start date
S

Sam Hulick

Before .NET, I used to use the registry to store app preferences. But
apparently now there's some other way.. like storing the data in .xml
files in \Documents and Settings\<user>\Application Data\<your app name>.

Could someone point me in the direction of some info or tutorials on how
to save app prefs in .NET? I found some docs on XML, but man.. it went
way over my head.

PS: I'm using Visual C# 2005 Express beta.. lovin' it. Can't wait for
its release later this year
 
Wow, nice reference. This is something I've been meaning to come up with
generic code for because I almost always end up writing a custom XML
serialization thing for preferences.

I'm going to play with the Configuration Management Application Block.

Those application blocks are pretty cool.

Pete
 
Back
Top