WCF健康监测类似于ASP.NET [英] WCF Health Monitoring similar to ASP.NET

查看:180
本文介绍了WCF健康监测类似于ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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.

链接1

<一个href=\"http://blogs.msdn.com/b/wenlong/archive/2007/09/07/how-to-use-performance-counters-to-diagnose-performance-of-wcf-applications.aspx\"相对=nofollow>链接2

<一个href=\"http://wcfsecurity.$c$cplex.com/wikipage?title=How%20to%20use%20Health%20Monitoring%20in%20WCF\"相对=nofollow>链接3

这篇关于WCF健康监测类似于ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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