What should you add to the Web.config file?

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You plan to capture the timing and performance information of the application.
You need to ensure that the information is accessible only when the user is logged on to the Web server and not on individual Web pages.
What should you add to the Web.config file?

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You plan to capture the timing and performance information of the application.
You need to ensure that the information is accessible only when the user is logged on to the Web server and not on individual Web pages.
What should you add to the Web.config file?

A.
<compilation debug="true" />

B.
<compilation debug="false" urlLinePragmas="true" />

C.
<trace enabled="true" pageOutput="false" localOnly="true" />

D.
<trace enabled="true" writeToDiagnosticsTrace="true" pageOutput="true" localOnly="true" />

Explanation:
is accessible only when the user is logged on to the Web server
is localOnly="true" (default=true)

not on individual Web pages.
is pageOutput="false" (default=false)



Leave a Reply 0

Your email address will not be published. Required fields are marked *