How do I use Fiddler to listen to the asp.net development server (i.e. cassini)?

六眼飞鱼酱① 提交于 2019-12-01 18:30:20

问题


I am attempting to debug a (RESTful) WCF app using Fiddler. I run my project via VS IDE - which launches my app in the ASP.NET Development Server aka Cassini. I then launch Fiddler and in the Request Builder tab enter the following: "http://localhost:1066/GeneralService/sections/summary" with GET as the http method.

Fiddler responds with "[Fiddler] Connection to localhost failed.
Exception Text: No connection could be made because the target machine actively refused it ::1:1066 "

Is there some way for me to debug an app running on Cassini?

Thanks, Steve


回答1:


Change the url to http://ipv4.fiddler:1066/GeneralService/sections/summary to enable fiddler to listen on localhost




回答2:


One neat trick is just to add a period(.) after the word localhost. No other config neccesary.




回答3:


You can use the integrated traffic monitor built into CassiniDev. It can be run stand-alone or as a direct drop-in replacement for VS 2008/2010 development servers.

alt text http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=cassinidev&DownloadId=123367 alt text http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=cassinidev&DownloadId=123366



来源:https://stackoverflow.com/questions/1937805/how-do-i-use-fiddler-to-listen-to-the-asp-net-development-server-i-e-cassini

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!