Great Fiddler Tip For Localhost Testing
Tuesday, August 26 2008 - fiddler, wcf, rest, silverlight
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://localhost:<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.
http://127.0.0.1:1306/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://127.0.0.1.:1306/TestRESTService.svc/Product/7
And it works! Now I can get back to testing my examples for my book. Here is Fiddler sniffing the calls:
And here are is the respone:
Thanks Shawn!
2 comment(s)
I MUCH prefer creating a HOSTS entry for localdev.com (with an address of 127.0.0.1) so that you can actually set cookies correctly.






What also works it replacing 127.0.0.1 or localhost with ipv4.fiddler thus resulting in:
http://ipv4.fiddler:1306
By the way.. these are documented features that can be found on the fiddler website.