O'Reilly logo

Microsoft Windows Communication Foundation 4.0 Cookbook for Developing SOA Applications by Steven Cheng

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using PerformanceCounters for WCF service monitoring

PerformanceCounters are very useful components on Windows operating systems for application/service performance monitoring. WCF has provided plenty of built-in PerformanceCounters to help developers or administrators monitor the application performance and health more conveniently.

In this recipe, we will demonstrate how we can enable the WCF PerformanceCounters for a given WCF service application and monitor the values of specific WCF PerformanceCounters.

How to do it...

Now, let’s have a look at the detailed steps for utilizing the built-in PerformanceCounters in a WCF service application:

  1. Turn on PerformanceCounters in the service diagnostics setting.

    By default, WCF PerformanceCounters are not ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required