Perfmon for WCF Services on IIS7

October 1, 2008 at 9:12 pm (WCF)

If you are running benchmarks with perfmon in Windows 2008 64-bit you can no longer user the ASP.NET and ASP.NET Application of perfmon is your application is in 32-bit mode.

As a better alternative anyway, is to use the new ServiceModel perfmon. You need to add the diagnostics section in the web.config like this:

<system.serviceModel>
    <diagnostics performanceCounters="All" />
</system.serviceModel>  

Then you will have access to metrics for each operation(method) in each endpoint in the ServiceModel* categories of perfmon. Really nice!

For more details:

http://blogs.msdn.com/wenlong/archive/2007/09/07/how-to-use-performance-counters-to-diagnose-performance-of-wcf-applications.aspx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: