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

Invoking and Implementing Operations Asynchronously

A OneWay operation is useful for "fire and forget" scenarios, where the client application does not expect the service to pass back any information. However, many operations do not fit into this scheme of working and return data to the client application. To cater for these situations, WCF supports asynchronous operations and the IAsyncResult design pattern. WCF enables you to implement the IAsyncResult design pattern in two ways: in the client application invoking the operation and in the WCF service implementing the operation.

More Info

The IAsyncResult design pattern is commonly used throughout the .NET Framework and is not peculiar to WCF. For details, see the topic "Asynchronous Programming ...

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