Hi,
I have a WCF service in IIS7 that interacts with a winform application over TCP (WAS), now I need to control the performance.
I added this to the web.config file:
<system.serviceModel>
<diagnostics performanceCounters="All" />
After opening the performance monitor, I run a couple of tests with my winform to make sure the service is activated.
Then I open the performance monitor (live), right-click and add counters. I extend ServiceModelService 4.0.0.0 and select Calls and Calls Duration, I also select my service (svc) listed in the list of instances of the selected object, and click the "Add" button.
When you select "Calls and Call Duration" in ServiceModelOperation 4.0.0.0, however, there is no instance or operation to select? The same goes for ServiceModelEndpoint 4.0.0.0?
When you click Ok, two counters will be added (ServiceModelService).
Then I click on the defrost screen and run my winform application, which makes a couple of calls, however I canβt see anything in Performance Monitor. I tried right-clicking on one of the performance counters and selecting "Scale Selected Counter", but it does nothing?
The goal is to see how well the WCF service works (speed, duration, number, connections, etc.), and it would be great to check individual operations.
Please, help!
. , : http://dkochnev.blogspot.com/2011/06/wcf-framework-40-monitoring-service.html