Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to configure fiddler to monitor wcf calls to a wcf services hosted in IISExpress

situation:

my website (which contains the WCF service) is hosted in IISExpres port number 58366 (http://localhost:58366/myapp)

I have a winforms client which connects to the wcf service using BasicHttpBinding

I want to debug my wcf calls using fiddler, but can't seem find how to redirect wcf calls through fiddler.

like image 522
rekna Avatar asked May 24 '11 07:05

rekna


1 Answers

IISExpress idiotically binds to the hostname "localhost", not just to the port, so conventional workarounds as with adding a dot to the hostname don't work. Solution seems to be here. Note the last part of the selected answer: Use "localhost.fiddler" and Fiddler will emit "localhost" when proxying.

like image 91
Jon Davis Avatar answered Nov 02 '22 22:11

Jon Davis