Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » WCF   (RSS)
In .NET 3.5 SP1 the following features are added to the DataContractSerializer. 1. Support for POCO types. Aaron has a nice writeup here . I have updated my post on Serialization Rules to include this. 2. Support for get-only collection properties. 3. Read More...
<This turned out to be longer than what I had intended. Sorry about it> One of the common errors in Deserialization is “Element ' 'http://mycompany.com/:shape' ' contains data of the ' http://mycompany.com/:Circle ' data contract. The deserializer Read More...
I left one thing unsaid in the serialization rules and Aaron's sharp eyes caught it promptly. As he mentioned in his blog , mixing interface programming model (such as IXmlSerializable or ISerializable) with DataContract programming model is disallowed Read More...
By default object references are not preserved by the DataContractSerializer; Values of an object referenced multiple times is serialized multiple times. If the object is part of mutual (cyclic) reference (e.g. circular linked list) an exception is thrown Read More...
DataContract is the default serialization programming model for WCF. However WCF supports more than just the types marked wth DataContract attribute. It supports serialization of the following kinds of types in the default mode. CLR built-in types Byte Read More...
 
Page view tracker