January 2011
Intermediate to advanced
507 pages
13h 27m
English
Although any enterprise application needs instrumentation to satisfy operators, it is always useful if the platform also has instrumentation built in so you as an application developer don't have to be concerned about all the details of supporting instrumentation. Just like logging and tracing, you can enable performance counters and WMI from within the application configuration or the configuration tool for both the client side and the service side. You can also set the performanceCountersEnabled property to ServiceOnly. Listing 3-21 shows how you do this in an application configuration file.
<?xml version="1.0" encoding="utf-8"?> <configuration> <system.serviceModel> ... |