PrepAway - Latest Free Exam Questions & Answers

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application has performance problems. You plan to collect sample timing information for each page.

You need to ensure that while collecting the information, the following requirements are met:

* The application remains online.
* The trace output is not visible to end users.
* The trace output contains the rendering time for all controls on all the pages.

What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Set the Trace.IsEnabled property to true in the OnLoad event of each page.

B.
Set the HttpContext.Current.Trace.IsEnabled property to true in the BeginRequest event handler.

C.
For the trace element in the Web.config file, set the enabled attribute and the pageOutput attribute to true.

D.
For the trace element in the Web.config file, set the enabled attribute to true and the pageOutput attribute to false.


Leave a Reply