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

Choosing a specific type for representing a collection parameter

For any data object transferred from the WCF service to the client, WCF runtime will serialize it from a .NET object into raw XML or binary format at the server side and deserialize it into an object of the mapping type at the client side.

We will usually use an array or collection-like type as parameter or return value type in a service operation. When calling such operations, the client-side proxy will need to define the corresponding types that will match the parameters or return values. WCF service proxy generation provides a flexible option that lets the developer choose the preferred collection type that will be used to match the array/collection objects in the service operation. ...

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