Summary

In this chapter, you have seen how the WCF runtime for a service determines how to handle an incoming message. The ChannelDispatcher object receiving the message queries each of its EndpointDispatcher objects in turn. An EndpointDispatcher exposes the AddressFilter and ContractFilter properties that the ChannelDispatcher can use to ascertain whether the EndpointDispatcher can accept the message. The EndpointDispatcher selected to process the message invokes the appropriate method in the service. You can customize the way in which the EndpointDispatcher accepts and processes messages by providing your own AddressFilter and ContractFilter objects and implementing the IDispatchOperationSelector interface.

You have also seen how to define a ...

Get Microsoft® Windows® Communication Foundation Step by Step 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.