Great Fiddler Tip For Localhost Testing

I was talking to Shawn Wildermuth tonight and he gave me a great tip about using Fiddler to sniff our calls to my services running on my Cassini web server. I am testing some REST styled WCF services using GET and POST from Silverlight 2 applications so Fiddler has been invaluable. When I put my services on Cassini it gives it the http://johnpapa.net<port> look, tagging on a port number. When typing in the url to my service into the Fiddler Request Builder Fiddler was not picking up the action.

/TestRESTService.svc/Product/7

Long story short … Shawn told me that if I stick a period in front of the semicolon (using the Request Builder) then Fiddler would sniff it. So I tried this:

http://johnpapa.net.:1306/TestRESTService.svc/Product/7

image

And it works!  Now I can get back to testing my examples for my book. Here is Fiddler sniffing the calls:

image

And here are is the respone:

image

Thanks Shawn!

DotNetKicks Image
Tweet Post Share Update RSS

Hi, I'm John Papa. I author this blog, create courses for Pluralsight and am a Google Developer Expert and Microsoft Regional Director. I travel speaking at events and train technology thought leaders

Tags:
All