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

3

5

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

Schematism answered 21/12, 2009 at 1:55 Comment(1)
See #1578272 for the duplicate version of this question; that thread lists all possible approaches.Dentiform
T
5

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

Timetable answered 21/12, 2009 at 1:58 Comment(0)
T
8

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

Ternopol answered 21/12, 2009 at 2:0 Comment(1)
woah. that works. Network magic.Someone got an explanation why?Trail
T
5

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

Timetable answered 21/12, 2009 at 1:58 Comment(0)
P
1

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

Pycnidium answered 24/7, 2010 at 19:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.