Would really appreciate some help on this one :)
I'm still a bit confused on when to use DelegatingHandler and when to use HttpOperationHandler, but the following blog post helped a bit :)
I'm creating a handler that extracts information from a custom X- HTTP header and needs to put it in a place accessible from the rest of the code.
My first idea was to use a DelegatingHandler and put the value into the HttpContext, but quickly discovered that doesn't work since the handler often runs on a different thread than the HTTP request.
Then I started looking at HttpOperationHandler but that seems to be more concerned with the actual application and dispatching requests to methods.
I've looked in the source and WCF contrib but haven't found an example that suits my needs.