Pasting Code

I have been looking around for a bit for a way to paste code for blog posts.  My requirements were pretty simple: Able to paste code from blog – such that readers could copy & paste code into their own editor Syntax highlighting – Syntax highlight just makes things easier to read Minimize scrollbars –…

2

DataContract Serialization with Generics & Read-only Properties

Recently I have been messing around with figuring out how to serialize some data back & forth between two applications.  The code in particular leveraged several interfaces, classes with readonly properties, & generics.  This caused a couple problems with serialization which I thought might be useful to share for others that run into a similar…