tags:

views:

1702

answers:

2

I'm fooling around with WCF, and would like to see how many messages I send/receive, and how large these messages are.

I tried activated WCF tracing, and ended up with a real huge trace file, but I found no way to extract the simple message size from this.

There sure must be some way to get this? Maybe I missed some parameters in tracing?

+5  A: 

The WCF Service Trace Viewer tool allows you to open the huge trace file and analyze many aspects of your messages. Make sure you've also turned on message logging, so the messages themselves get logged too (with properties such as size...)

JacobE
Hi Jacob, can you be a bit more specific? I've turned on full message logging. Still couldn't find the message size anywhere.
Krishna
+3  A: 

Besides using something like Wireshark (nee ethereal) you could look at something like Fiddler which has other benefits as well. It shows content length for all request/response and allows you to view the content in several ways.

dpp