最近,我们所有的服务都从basicHttpBinding切换到了net.tcp。我们的服务托管在IIS中。问题是,由于这种更改,我们失去了IIS日志记录功能。
我们知道WCF Tracing,但是我们的系统实用程序只能使用IIS日志记录。
有什么方法可以启用net.tcp服务的日志记录吗?
谢谢。
发布于 2013-07-21 16:53:11
它不会像基本的http绑定那样向前推进,但它似乎是“可以完成的”-看看这篇文章:
http://blogs.msdn.com/b/james_osbornes_blog/archive/2010/12/07/hosting-in-iis-using-nettcpbinding.aspx
或
http://social.msdn.microsoft.com/Forums/vstudio/en-US/6db46819-e511-4ec2-9c3f-b09deaaedf79/logging-nettcpbinding-requests-in-the-iis-log
https://stackoverflow.com/questions/17770068
复制相似问题