PrepAway - Latest Free Exam Questions & Answers

Which administrative action or actions enables tracing?

How would you enable debugging diagnostics and tracing on a Web application.
Which administrative action or actions enables tracing? (Choose TWO.)

PrepAway - Latest Free Exam Questions & Answers

A.
You should consider modification of the Web.config file or create a new file in the root utilizing
XML code if no Web.config file exists.
You should additionally set the envled attribute to true in the trace element.

B.
You should consider the addition of a trace element as a child of the system.web element after
which a trace element PageOutput attribute is set to true.

C.
You should consider making changes to the HOSTS file of network users.

D.
You should consider creating a file in the root folder utilizing XML code to implement tracing.

Explanation:
You should note that Tracing is a feature in ASP.NET that can be utilized to allow
developers to view diagnostic information about a single request for an ASP.NET page. You
should additionally note that be configuring tracing developers are allowed to write debug
statements directly in the code.


Leave a Reply