How to trace WCF message size?

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?

Answers


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...)


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.


Need Your Help

extracting middle OR final part of a string

javascript regex

I want to extract only the first fontname out of a URL-string from the Google Webfont Directory. Here are some examples of possible strings and what part should be returned:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.