Saving Application/User Settings using XmlSerialization
Both of these are a great references for saving application/user settings easily using XmlSerialization. Thanks for the references guys.Quite a few people seemed to like the XmlSerializer-based IConfigurationSectionHandler I wrote. Cool! A few people asked about how we could use this same technology to write to the config file, though. Of course, this is a Bad Idea. As anyone who has taken the plunge knows, normal users do not have permission to write to the application configuration file. What you are supposed to do is to write to one of the special folders under Documents and Settings. Here is s a simple helper class to help you do exactly that.[CraigBlog]
I wish I could take credit for this, but I can't. I did not write this, but this and many other gems could be yours with a subscription to C#Today :D
It you want to quickly and easily searilize almost any object, just derive your class from the Selfserializer class here and you will be on your way.[ScottW's ASP.NET WebLog]