试题详情
- 多项选择题You create a Web application. You need to turn on Tracing for a page that is not performing well. You must store the trace information in a database for reporting and trending. Which two actions should you perform? ()
A、Add a TraceContextEventHandler to the Trace.TraceFinished event to add the trace records into the database.
B、Add a system.diagnostics section to the Web.config file. Then add a listener to the new section.
C、Use the System.Diagnostics.Trace object to connect to a database. Then insert the trace records.
D、In the Page_Load for the page, place the Trace.Write call into a SQL INSERT statement.
- A,B
关注下方微信公众号,在线模考后查看
热门试题