如何跟踪WCF消息大小? [英] How to trace WCF message size?

查看:138
本文介绍了如何跟踪WCF消息大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我试着激活WCF,我想看看我发送/接收的邮件数量,以及这些邮件的大小。跟踪,最后是一个真正的巨大的跟踪文件,但是我发现没有办法从中提取简单的邮件大小。



肯定有一些方法可以得到这个?也许我错过了跟踪中的一些参数?

解决方案

WCF服务跟踪查看器工具允许您打开巨大的跟踪文件并分析许多你的消息的方面确保您也已经打开了邮件记录,所以消息本身也被记录(具有大小等属性)


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?

解决方案

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

这篇关于如何跟踪WCF消息大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆