Valid 70-486 Dumps shared by ExamDiscuss.com for Helping Passing 70-486 Exam! ExamDiscuss.com now offer the newest 70-486 exam dumps, the ExamDiscuss.com 70-486 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 70-486 dumps with Test Engine here:
You are developing an ASP.NET application that runs on Windows Server 2012. An exception is preventing a page from rendering. You need to view the trace information for the page. Which two actions should you perform? Each correct answer presents part of the solution.
Correct Answer: B,D
Explanation/Reference: Explanation: D: You can control whether tracing is enabled or disabled for individual pages. If tracing is enabled, when the page is requested, ASP.NET appends to the page a series of tables containing execution details about the page request. Tracing is disabled by default. To enable tracing for a page 1. Include an @ Page directive at the top of your .aspx file. 2. Add a Trace attribute and set its value to true, as shown in the following example: <%@ Page Trace="true" %> You can also configure tracing in the Web.config file by setting the enabled, localOnly, and pageOutput attributes of the trace Element (ASP.NET Settings Schema) B: To view trace details for a specific request Navigate to Trace.axd in the root of your application. For example, if the URL for your application is http://localhost/SampleApplication, navigate to http:// localhost/SampleApplication/trace.axd to view the trace information for that application. Select the View Details link for the request that you want to investigate. References: https://msdn.microsoft.com/en-us/library/94c55d08.aspx https://msdn.microsoft.com/en-us/library/wwh16c6c.aspx