Sunday, February 23, 2003

Son of XmlConfigurationSectionHandler

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.

No comments:

Post a Comment