Performance counters how?

Topics: Enterprise Library Core
Jul 29, 2009 at 6:29 PM

I want to know how to setup performance counter for a App block? Anyone?

Jul 30, 2009 at 9:42 AM


  1. First of all is you would need to enable the instrumentation, you can find here the steps to do it.
  2. In your application config, make sure to add the Instrumentation section, and set the PerformanceCountersEnabled to true.

You can try this quickly by using the QuickStart applications, lets say, the Validation quick start, just do the steps above, open the Performace monitor and add the counters.

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.