Weblog Posts in September 2011

An Xml Serializable PropertyBag Dictionary Class for .NET
September 27, 2011 @ 4:50am

.NET includes many Dictionary related types but serialization of Dictionaries leaves a lot to be desired. In this post I show how to create a serializable PropertyBag class that makes it easy to XmlSerialize arbitrary key/value pairs into XML and back.

Show raw Text Code from a URL with CodePaste.NET
September 23, 2011 @ 6:44pm

CodePaste.NET has been around for a while now. But did you know that you can also use it to syntax color code from the Web simply by providing a URL and language? Here's how.

Figuring out the IIS Version for a given OS in .NET Code
September 18, 2011 @ 7:50pm

Need to find the IIS version available for a given OS via code? Here's a small routine that handles this.