You are an enterprise application developer. You are designing monitoring features for an ASP.NET Web-based application.
The monitoring features must meet the following requirements:
* Log events to a data source for later review.
* Read configuration settings from the Web.config file.
* Monitor the application after deployment to production.
You decide to use a monitoring feature built into Microsoft .NET Framework. You need to choose an appropriate monitoring feature.
Which monitoring feature should you use?
A.
Use Windows Management Instrumentation (WMI) events.
B.
Use the System.Diagnostics.Trace class.
C.
Use Performance Counters.
D.
Use the System.Web.TraceContext class.