How to use Fiddler to monitor WCF service

前端 未结 10 589
情话喂你
情话喂你 2020-11-27 10:20

I have a WCF service that accepts a complex type and returns some data. I want to use Fiddler to see what the incoming requests to the service looks like. The client is .ne

10条回答
  •  抹茶落季
    2020-11-27 10:36

    You need to add this in your web.config

    
      
        
      
    
    
    1. then Start Fiddler on the WEBSERVER machine.
    2. Click Tools | Fiddler Options => Connections => adjust the port as 8888.(allow remote if you need that)
    3. Ok, then from file menu, capture the traffic.

    That's all, but don't forget to remove the web.config lines after closing the fiddler, because if you don't it will make an error.

    Reference : http://fiddler2.com/documentation/Configure-Fiddler/Tasks/UseFiddlerAsReverseProxy

提交回复
热议问题