O'Reilly logo

Microsoft® Windows® Communication Foundation Step by Step by John Sharp

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

Modifying a Data Contract

The methods in a service contract can take parameters and return values. The data for these parameters and return values is included in the SOAP messages that pass between the client application and service. SOAP messages encode data values as tagged XML text. The WCF runtime uses the built-in XML serialization features of the .NET Framework to serialize and deserialize primitive .NET Framework data types, such as integers, real numbers, or even strings. For more complex structured types, the service must specify the exact format for the serialized representation; there could be several ways to depict the same structured data as XML. You define structured types by using data contracts. The WCF runtime can then use data ...

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