Top Stories published by theburningmonk.com in May of 2011

Turn ExpandoObject into static type

As many others have shown, the new ExpandoObject introduced in C# 4 can be pretty useful in some scenarios.

However, on the odd occasion when you want to convert an ExpandoObject to a static type you have defined you can be forgiven for…


JSON serialization — DataContractJsonSerializer vs JavaScriptSerializer

In C#, when you have to work with JSON data you’re usually represented with two choices — DataContractJsonSerializer or JavaScriptSerializer. There are other popular third-party libraries out there, such as…