• Sowmy Srinivasan's Blog

    WCF Serialization Programming Model

    • 21 Comments
    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...
  • Sowmy Srinivasan's Blog

    Preserving Object Reference in WCF

    • 21 Comments
    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...
  • Sowmy Srinivasan's Blog

    All About KnownTypes

    • 17 Comments
    <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...
  • Sowmy Srinivasan's Blog

    Why prevent DataContract + IXmlSerializable

    • 4 Comments
    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...
  • Sowmy Srinivasan's Blog

    New additions in 3.5 Sp1

    • 3 Comments
    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...
  • Sowmy Srinivasan's Blog

    Hello, world!

    • 1 Comments
    Here is yet another Indigo blog. Having worked on ‘Indigo’, now known as WCF , for four years I am excited to talk about it. My name is Sowmy Srinivasan and I am a developer in the WCF team. My team works on serialization of data and management...
  • Sowmy Srinivasan's Blog

    Serializing internal types using XmlSerializer

    • 1 Comments
    Being able to serialize internal types is one of the common requests seen by the XmlSerializer team. It is a reasonable request from people shipping libraries. They do not want to make the XmlSerializer types public just for the sake of the serializer...
  • Sowmy Srinivasan's Blog

    Remoting posts

    • 0 Comments
    As Doug indicated I was going to post my deranged .NET Remoting ramblings in my blog. But then John had created a cool blog especially for our Remoting users. So I'll start putting my Remoting posts there.
Page 1 of 1 (8 items)