1、在config中加入配置
<configuration>
<system.net>
<defaultProxy enabled="true">
<proxy proxyaddress="http://127.0.0.1:8888" bypassonlocal="False"/>
</defaultProxy>
</system.net>
</configuration>
2、fiddler配置相同的监听端口
转载于:
https://josephwoodward.co.uk/2016/04/capturing-asp-net-traffic-in-fiddler