EntLib 5 - Performance Counters Help

Topics: Data Access Application Block, Logging Application Block
Jul 6, 2011 at 12:46 PM

Hi

We have a web application running on .NET 4.0 and planning to implement Data Access App Block. alongwith this we would also need to check the performance of how the DAAB behaves using the Instrumentation block's Perf Counters.

The Web.config is updated with the Instrumentation Block using EL Config wizard. But now I need to how do we programmatically check the perf counters like

Commands Executed/sec, Connections Opened/sec, Connections Failed/sec etc.

Need help in some sample code to implement the same.

Thanks!

 


Jul 7, 2011 at 2:57 AM

Hi,

There are alot of sample codes on the web about working with performance counters like this which may give a hint on how to achieve this.

 

Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.
entlib.support@avanade.com