问题描述
ASP.NET有所谓的健康监测一个不错的功能。一旦的System.Web / healthMonitoring
部分定义我们得到非常有用的网络事件记录/分析。是否有WCF服务的任何类似的方法不使用ASP.NET兼容模式和IIS7下托管/ WAS?
ASP.NET has a nice feature called Health Monitoring. Once defined in system.web/healthMonitoring
section we get very useful web events to log/analyze. Are there any similar means for WCF services that don't use ASP.NET compatibility mode and hosted under IIS7/WAS ?
更新:我所发现的是,在实现WCF服务的web.config的System.Web / healthMonitoring允许获得一些网络事件:System.Web.HttpRuntime,1002,应用程序是关闭原因:配置改变。无心跳和其他。我不明白是如何工作的,如果ASP.NET没有参与这一进程,但是这是事实。
Update: What i've found out is that enabling system.web/healthMonitoring in WCF service's web.config allows to get some of web events: System.Web.HttpRuntime, 1002, "Application is shutting down. Reason: Configuration changed.". No heartbeats and others. I don't understand how that works if ASP.NET is not involved in the process but that's the fact.
推荐答案
请下面的链接去。不知道到底你在问什么。
Please go through below links. Not sure what exactly you are asking.
链接2
<一个href=\"http://wcfsecurity.$c$cplex.com/wikipage?title=How%20to%20use%20Health%20Monitoring%20in%20WCF\"相对=nofollow>链接3
这篇关于WCF健康监测类似于ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!