Essential Windows Communication Foundation: For .NET Framework 3.5
by Steve Resnick, Richard Crane, Chris Bowen
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access