O'Reilly logo

Microsoft Windows Communication Foundation 4.0 Cookbook for Developing SOA Applications by Steven Cheng

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

Chapter 6. Dealing with Data in Service

In this chapter, we will cover:

  • Binding a WPF element with data from a WCF service
  • Returning ReadOnlyCollection data
  • Using raw XML as an operation parameter
  • Returning a DataTable/DataSet in a service operation
  • Transferring binary data with MTOM encoding
  • Specifying ServiceKnownType information in a programmatic way
  • Using XmlSerializer for custom data serialization

Introduction

Data transfer is always a hot topic in distributed communication. WCF supports transferring various kinds of data such as database records, custom data objects, XML document, and even raw binary data.

In this chapter, we will go through different kinds of data transferring cases in WCF service development. The recipes will start with a simple ...

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