Search code examples
wcfwcf-bindingwcf-securitywcf-client

WCF "Global" Operation Invoker


Here is what I want to achieve. In a IIS hosted WCF service I would like to be able to read the incoming message headers and based on a specific header value perform some custom actions. This header reading should take place before any web service method is executed. Can you please provide some guidance?


Solution

  • You didn't mention what you want to do with a message headers so perhaps it will not satisfy your needs but you can try using custom message inspector.