WCF Health Monitoring similar to ASP.NET

1.6k Views Asked by At

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 ?

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.

1

There are 1 best solutions below

4
On

You can add some configuration to the config file of the client and will have a lot of logging information. check the below links