O'Reilly logo

Essential Windows Communication Foundation: For .NET Framework 3.5 by Chris Bowen, Richard Crane, Steve Resnick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6. Serialization and Encoding

IN CHAPTER 2, “CONTRACTS,” we discussed serialization by using DataContract serialization to convert CLR types to standards-based XML for transmission between client and service. However, many scenarios exist where DataContract serialization is not sufficient. This includes serialization of existing CLR types that do not support DataContract serialization, legacy Web services, interoperability, code migration (such as .NET Remoting), and data shaping. Data shaping is the process of controlling the serialized XML of a .NET type used for performance optimization and contract-first development. In these situations, it is important to know how to work with the serialization facilities that WCF and the .NET Framework ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required