I'm sure someone, somewhere has already written this, but I figured it out on my own today, and it's just too cool not to share. Basically, it's a bit of code that lets me store objects in my application of web configuration file, and all I have to do is write the type that holds the values.
[CraigBlog]
This is really cool, I was wondering why MS has not created this for us in
the first place. I see only one question: how does this work with
hierarchical configuration (like the add/remove stuff of
NameValueSectionHandler)?
First of all, many thanks to Scott for setting up this blog for me! It
took me some time to create the first post, but here it is now. In the end
it became too long, so I decided to put it in a story instead.