Summary

In conclusion, for any data to be passed to or from a service, first it needs to be serialized. Although both .NET and ASP.NET in general support serialization, WCF truly extends this concept and makes it easy to implement. Of the various options you examined, data contracts are the default and one of the most flexible serialization engines designed with change and versioning in mind. The WCF runtime flexibility allows you to switch to legacy support when required.

The ability to map your business components to data members in a natural OOP paradigm is a powerful feature. This makes the development, testing, and maintenance of data contracts along with versioning intuitive and easier. You also examined the powerful ability to filter ...

Get Pro WCF: Practical Microsoft SOA Implementation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.