Web Traffic Debugging with Fiddler

by Markus 25. March 2010 20:09

Web Traffic Debugging with Fiddler

 

Step 1

Download Fiddler from http://www.fiddlertool.com

 

Step 2

Configure Fiddler to work with Visual Studio Development Server.

  • Set your Web Project to use a Fixed Port like 10000 (Under VS - Project – Properties – Web)
  • Start Fiddler and aktivate to Capture the Traffic (Under Fiddler – File – Capture Traffic)
  • Insert the following script in function OnBeforeRequest in the Fiddler Custom Rules (Under Fiddler – Rules – Customize Rules)

  if (oSession.host=="name:10000"){
   oSession.host="127.0.0.1:10000";
  }

  • Start the debugging session in your VS. Change the Browsers address line from
    • localhost:10000 to
    • name:10000
  • From now on Fiddler is showing you all traffic
  • Click in Fiddler on View – Inspector and use the Tabs of the inspector to see the complete traffic.

Here you see also detailed Error Messages if a Service you called from Silverlight is failing…

 

< Back to Content

Tags:

Comments

3/25/2010 8:10:33 PM #

trackback

Silverlight 4.0 Development in C#

Silverlight 4.0 Development in C#

Blog.MaHop.Net |

About MaHop.Net

Just look on our Webpage http://www.mahop.net

Tag cloud