Archive for December, 2009

XMLDictionary & Serialization in WCF

Posted: December 26, 2009 in WCF

We all are quite conversant with the XmlWriter & XmlReader classes in System.Xml namespace.But not that much with the XmlDictionary ,XmlDictionaryReader & XmlDictionaryWriter present in System.Xml namespace in System.Runtime.Serialization assembly.These are used primarily by the WCF framework to optimize XML serialization/deserialization.In this post we will see how a XML Dictionary can be used to make XML writing/reading more optimized.

A very commonplace way to writing XML data is shown below:

(more…)

Advertisements