Sunday, June 19, 2011

Internal Classes To Understand WCF Message: XmlDictionaryWriter Class

The XmlDictionaryWriter class is one of the most important classes for working with messages in WCF. This class is inherited from the XmlWriter class. It essentially takes a Stream as an input parameter. The class mainly performs serialization and encoding of the stream to be sent as a message in WCF. 

Untitled-23.gif

There are four factory methods of this class being used extensively. Each method has their own uses as of requirement. 
Untitled-25.gif
Read more: C# Corner