XML-serializing IDictionary-derived objects
Until now, I was not really aware that the XML serializer explicitly ignores serializing objects derived from IDictionary. To work around this problem, one would need to wrap IDictionary instances in a class that implements IXmlSerializable. For more info on this, refer to this excellent column by Aaron Skonnard. But if you look through the documentation of IXmlSerializable, this is what you will find: “This type supports the .NET Framework infrastructure and is not intended to be used directly from your code“. Interesting!