Partager via


Enabling WCF performance counters

The documentation relating to how to enable performance counters for WCF services is wrong.
The correct syntax to enable performance counters for a WCF service through the config file of the hosting application is as follows:

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