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

Invoking a WCF service without blocking the front UI

We can consume WCF services from various client applications and, in most cases, the WCF client consumer is a GUI application that needs to respond to front UI interactions as well as any background processing tasks. In such cases, if we need to call a long-running WCF service operation, it is important to make sure that the service invoking won't block the front UI interaction.

In this recipe, we will use a typical WinForm client application to demonstrate how we can consume a WCF service in GUI applications without impacting the front UI interaction.

How to do it...

WCF supports several means to achieve service operation invoking without blocking the front UI actions. Here we will introduce two ...

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