Rick Strahl's Web Log

Wind, waves, code and everything in between...
ASP.NET • C# • HTML5 • JavaScript • AngularJs
Contact   •   Articles   •   Products   •   Support   •   Search
sponsored by
AsPose - Your File Format APIs

Weblog Posts in September 2011

An Xml Serializable PropertyBag Dictionary Class for .NET

.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

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

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