Monday, January 7, 2008

Disabled Clean

What? No clean option from the Build menu in Visual C# 2005 Express? That's just annoying. I somewhat understand disabling a powerful feature, like mobile targets, but removing clean from the menu is ridiculous.

Friday, December 14, 2007

Fiddler

Sometimes accomplishing a seemingly simple programming task involves hours of finding the right tool. Today's seemingly simple task was to view the SOAP requests and response to a web service running on a remote computer.

I had no luck with my usual network monitor, TCPMon. I have no control over the URL of the HTTP GET request, so I can't listen for it on my localhost. This tool has worked great in the past when I can modify the binding URL to point to the host and port that TCPMon is monitoring.

I had better luck with Microsoft Network Monitor 3.1. I was able to see the requests and responses in the log, filter them to weed out the rest of the communication. But darn it, I couldn't figure out how to see the text of the XML message. I banged my head against this one until I determined there isn't an easy way to view the request and response.

Finally, my usual method of Google searching using different keywords allowed me to stumble upon Fiddler, a tool designed to monitor HTTP traffic between your computer and everywhere else. 10 minutes later I had my problem debugged. Why couldn't Microsoft Network Monitor make it that easy? TCPMon appeared to be the right tool also but based on my searching others had the same problem trying to monitor HTTP traffic with it.

Try Fiddler. It probably does more than my simple task, so maybe next time I open it I'll actually go through the options in the menu.

There is probably a moral to this story about usability of tools or finding the right tool for the job or finding a better way to find the right tool.

Wednesday, December 12, 2007