With compat mode you have access to HttpContext so you can use
HttpContext.Current.Handler, however you didn't tell too much about your
case, so I don't know is it adequate for your case...
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke http://teemukeiski.net
"Alphapage" <Al*******@discussions.microsoft.comwrote in message
news:3B**********************************@microsof t.com...
Hello,
I want to get the IHttpHandler from a svc service.
With old asmx webservices, I get it using
WebServiceHandlerFactory.GetHandler .
How can I get IHttpHandler in WCF running in serviceHostingEnvironment :
aspNetCompatibilityEnabled="true" ?
Thanks in advance for your help.