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

Controlling Client Communications

You have now seen how to configure the channel stack for a service and how to create a behavior that can modify the way in which the WCF runtime processes messages. In this section, you will examine how to programmatically connect a client application to a service, send messages, and process responses.

Connecting to a Service Programmatically

When a client application runs and connects to a service, the WCF runtime creates an infrastructure that is a simplified mirror of that created for the service. When you use a proxy object to connect to a service, behind the scenes the WCF runtime creates a binding object using the binding elements specified in the configuration file, and an endpoint based on the selected endpoint ...

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