OK, there are billions of posts on dotnet newsgroups about this, and I have
read half of them, but I'm still a little confused. First I'll say what I
think I've learned and anyone can correct me if I'm off target.
1. User preferences should be saved to the UserAppDataPath.
2. They should be saved as an XML file.
3. Serialization is a handy technology for going about this, since you can
simply store all your preferences in an object and load the object all at
once from a file or save it all at once to a file.
Now I know that there are other alternatives, but am I right that this is
the approach that MS is pushing? And if so, does anyone have some example
code for this?
Also, at least one article referred to "Isolated Storage". Where does that
fit into this, or is that more for application data than for user
preferences?
Any help is appreciated.
|