I've been doing some work extending the WCF pipeline of my service using mainly IOperationInvoker to implement my own functionality.
I am currently using System.Web.HttpContext.Current.Items to store some variables that I want to be be persisted and available throughout the lifetime of my request (pre method invokation, during webserice method, post method invokation).
This works fine when using the HTTP binding, however, I now need to enable TCP and NamedPipes bindings where the System.Web.HttpContext.Current.Items bag obviously isn't available.
Is there a better place to be storing variables that I only want to be in scope for the current request?
Thanks David