O'Reilly logo

SOA Patterns with BizTalk Server 2013 and Microsoft Azure - Second Edition by Mahindra Morar, Colin Dijkgraaf, Johann Cooper, Mark Brimble, Richard Seroter

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

Using asynchronous services in WCF

WCF has support for both client-side and server-side asynchronous programming scenarios. By client-side programming, I mean that a service built with a request/response operation can appear asynchronous to the client. For example, let's look at a simple sequence diagram that shows what I mean:

Using asynchronous services in WCF

The WCF client proxy class is responsible for simulating the asynchronous communication, while the actual service still exposes only a synchronous operation. Let's look at an example of how we can physically create a client-side asynchronous experience in a WCF solution.

Creating the synchronous service

We start out by creating ...

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