How to debug a WCF Service with an HTTP Context?

Posted by JL on Stack Overflow See other posts from Stack Overflow or by JL
Published on 2009-10-05T12:06:33Z Indexed on 2010/03/13 16:05 UTC
Read the original article Hit count: 287

Filed under:

I need to debug a WCF service but it needs to have an HTTP Context.

Currently I have a solution with a WCF service web site, when I click on debug it starts up and then fires up an html page that contains no test form.

While the project is running I tried starting the wcftestclient manually, then provided the address of my service, it finds the service but when I invoke it, it bypasses the IIS layer (or development server), so the httpContext is null...

What is the correct way to debug a WCF service through an IIS context?

© Stack Overflow or respective owner

Related posts about wcf