How to work with Performance counters and WCF service in IIS?

后端 未结 2 881
-上瘾入骨i
-上瘾入骨i 2021-01-05 09:44

Hi,

I have a WCF service in IIS7 that communicates with a winform application over TCP(WAS), now I need to monitor the performance.

I have a

2条回答
  •  一整个雨季
    2021-01-05 09:55

    WCF services includes performance counters that you can track with the Windows Performance Monitor (Perfmon.exe). You can launch this from the Administrative Tools in Windows Server 2003.

    Performance counters can be enabled from the diagnostics section of the .config file for the service, as shown in the following sample configuration:

    
      
         
      
    
    

    You may want to check out these articles which can guide you on how to use the performance counters for WCF services:

    • MSDN - WCF Performance Counters
    • MSDN - Using Performance Counters
    • How to use performance counters to diagnose performance of WCF applications

提交回复
热议问题