Featured Post

IE8 Download Notification in Windows 7

Ever started a download and then wondered how much time it had before it finished?  Me too.  I just noticed this feature in the new taskbar of Windows 7 on the Internet Explorer 8 icon.  Zune 4.0 was just released so I kicked off a download.  A few minutes later I was wondering how far along it...

Read More


Seriaizing Objects in web.config

Posted by Keith Elder | Posted in Asp.Net, Programming | Posted on 31-08-2006

Jeff Atwood posted an article about serializing objects in the web.config file a few weeks ago on his blog.  I recently gave a presentation on creating custom configSections in web.config by creating custom SectionHandlers.  One day I’ll write it up and post it to here how its done.  Until I get time to write that up, you may want to check out what Jeff has going on with creating an object, then serialzing it, and then storing it in the web.config file.  Of course you could use app.config as well.

The most interesting nugget that came out of the comments was a reference to the ConfigurationPropertyAttribute that Jarrod Dixon pointed out.   I hadn’t heard about this but it is a nice thing to know because it declartively instructs the .Net framework to instanatiate a configuration property.