- It follows the Opt-out approach. It means all the public properties get serialized. If you don’t want something you have to specify explicitly.
- It serializes only properties and again only public properties with both get and set accessor.
- It follows Opt-In approach. It means we have to explicitly specify what we want to serialize.
- It can serialize nonpublic members and fields also.
For more stuff like this, click here. Subscribe to article updates or follow at twitter @SukeshMarla
See following video on endpoints, address, contracts and bindings: -
Click and see here for more step by step learning on WCF(Windows Communication Foundation).