开发者

Capture bytes sent by Webservice

I'm trying to get how many bytes my Webservice sending out. I used very useful answer from this post (IIS 7 managed module can't get Content-Length or bytes sent) to create httpModule and attached to my webservice. It sort of works, but it doesn't capture the length or the complex objects that are being se开发者_如何学Crialized and sent out. It seems that Xml-Serialized objects are being ignored.

P.S. Once I attach the module to a website, I get expected results.

Please help


Using IIS 7 special feature you can trace the request and response by logging the same.

for advanced logging have a look on this

http://learn.iis.net/page.aspx/579/advanced-logging-for-iis-70---custom-logging/

Hope this may help you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜