Chapter 2. Endpoint, Binding, and Behavior

In this chapter, we will cover:

  • Configuring Default Endpoints
  • Setting up two-way communication over MSMQ
  • Building a Publish-Subscribe service with dual binding
  • Creating a multiple-endpoint service
  • Implementing a POX HTTP service
  • Defining a CustomBinding without a timestamp header
  • Suppressing mustUnderstand validation on unknown SoapHeaders
  • Sharing a physical address between multiple endpoints

Introduction

WCF services are exposed through service endpoints, which provide the basic access point for client to utilize the functionality offered by a given WCF service. Service endpoints consist of ABC and a set of behaviors. What is ABC? Well, A stands for Address, which tells service consumers “Where is the service?”, ...

Get Microsoft Windows Communication Foundation 4.0 Cookbook for Developing SOA Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.