How to save preferences for an app?

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
 
P

Pete Davis

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top