Most of the application blocks contain instrumentation. The types of instrumentation are the following:
- Performance counters
- Event log events
- WMI (Windows Management Instrumentation) events
The instrumentation classes are a part of the Enterprise Library Core and are located in the Common assembly. You can reuse this code in your own applications.
By default, instrumentation is disabled, but you can use the Enterprise Library configuration tools to enable each type of instrumentation. If you have administrative rights, you can use the Installutil.exe program to install the instrumentation.
Most other dependencies are encapsulated in individual providers. For example, the Exception Handling Application Block can use the Logging Application Block to publish exception information, but this is not a requirement. You can choose to publish exception information to other sources, such as the event log, or you can extend the Exception Handling Application Block by supplying your own logging provider.