Skip to Content
Pro WCF: Practical Microsoft SOA Implementation
book

Pro WCF: Practical Microsoft SOA Implementation

by Chris Peiris, Dennis Mulder, Shawn Cicoria, Amit Bahree, Nishith Pathak
January 2011
Intermediate to advanced
507 pages
13h 27m
English
Apress
Content preview from Pro WCF: Practical Microsoft SOA Implementation

Understanding Data Contracts

Data contracts, in WCF, are the preferred method of abstracting your .NET types from the schema and XML serialized types. With WCF, you have choices for creating the metadata that is used to publish your service and how that impacts the runtime serialization of your .NET types into platform-agnostic schema types that are represented in XML.

The process is all hidden, if you choose, from the developer. Primitive types are easily mapped to leverage the default DataContractSerializer. Other types are controllable through the DataContract attribute capabilities. However, if you still want control, you can always leverage XmlSerializer to manage the serialization of your types into XML. So, in the following sections, ...

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.
Start your free trial

You might also like

Pro WCF 4: Practical Microsoft SOA Implementation, Second Edition

Pro WCF 4: Practical Microsoft SOA Implementation, Second Edition

Nishith Pathak

Publisher Resources

ISBN: 9781590597026Purchase book