When I'm troubleshooting HTTP traffic, I reach for the invaluable fiddler trace utility. It shows me everything going on over HTTP.
However, when you run fiddler against a localhost URL you probably won't see any traffic, but you canEasilyFix this by simply adding a dot to the end of localhost in the address.
Intead of http: // localhost: 1234/MyApp /...,
Use http: // localhost.: 1234/MyApp/... (it's subtle, but notice the extra dot after localhost ).
This tip is widely known and incluented (there are other workarounds listed at that link), but I just wanted to highlight this simple fix, because I 've recently seen some who were not aware of it. it wocould beVery unfortunateFor someone to download and try fiddler only to immediately discount it as "junk" just because of this. it is an awesome tool, and it's not just for IE, it hooks wininet and is useful for watching other HTTP traffic like Web Service CILS.
Link: http://weblogs.asp.net/lorenh/archive/2008/01/10/tip-for-using-fiddler-on-localhost.aspx