Filtering operation requests based on message
WCF supports hosting multiple endpoints within a single service instance. At runtime, whenever a service request arrives, the WCF runtime needs to determine which endpoint (EndpointDispatcher
) should be used to handle the request. This kind of request dispatching is processed through a filtering mechanism and there are some built-in filters that will help dispatch the requests to the proper endpoint. For example, there is a default AddressFilter
instance associated with each endpoint which determines the request dispatching based on the request URL of the incoming request and the target endpoint's address. What's more powerful is that WCF also allows developers to create a custom filter to control ...
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.