70-315 Developing and Implementing Web Applications with Microsoft Visual C# .NET
Note 2: 70-315 Answers are not shown in demo questions.
Exhibits and Answers are only provided in the Full Version.
Demo Question 11.
You are developing an ASP.NET application using C# which provides flight booking services to customers. The IT Manager has experessed the need to be able to see trace information of the new application. You have been instructed to enable instrumentation on all of the application's pages. You should display tracing for only the first twenty five requests to your application. Trace information should appear at the bottom of each requested Web page. What actions should you perform to meet the requirement in the most efficient manner? (Each choice presents a part of the solution.) (Select 3 choices.)
A. Set the value of the @ Page directive's Trace attribute to true on each page that should display trace information.
B. Configure the Web.config file in your application's root directory so that the Trace element's requestLimit attribute is set to 25.
C. Configure the Web.config file in your application's root directory so that the Trace element's pageOutput attribute is set to true.
D. Set the value of the @ Page directive's Trace attribute to 25 on each page that should display trace information.
E. Configure the Web.config file in your application's root directory so that the Trace element's enabled attribute is set to true.
Display Answer
Purchase Full Version:
70-315 Printable PDF Prep Guide $49.95 BUY NOW!
70-315 Test Simulation Engine $69.95 BUY NOW!
70-315 PDF & Test Simulation Engine $99.95 BUY NOW!
Answer: B, C, E
To enable tracing for the first twenty five requests of all pages in your application and to display trace
information at the bottom of each page, you should configure the Web.config file so that the Trace element's
enable attribute is set to true, the requestLimit attribute is set to 20 and the pageOutput attribute is set to
true. Tracing can be enabled on a page-by-page basis by using the @ Page directive, or it can be enabled for an
entire application by configuring the Web.config file in the application's root directory. In this scenario, it is
more efficient to enable tracing through a single setting in the Web.config file than to modify every page's @
Page directive. The Web.config file should include these lines:
<system.web>
<trace enabled="true" pageOutput="true" requestLimit="20" />
</system.web>
The pageOutput attribute determines where the trace information is displayed. Setting the pageOutput
attribute to false, or not specifying a pageOutput value, will send the trace information to a Trace.axd file; a
true value will send the information to both the Trace.axd file and the bottom of the Web page. The
requestLimit attribute determines the number of requests for which to record trace information.
Explanation:
- Based on the latest 70-315 exam objectives!
- Designed like actual 70-315 exam questions!
- 100% Verified Realistic 70-315 Exam Questions and Answers!
- Exhibits, Drag&Drop and Simulation 70-315 Questions Included!
- Constantly Updated Guide to Reflect the Current 70-315 Exams!
- Detailed Explanations for Most Guide Practice Exams!

Australia

Demark

England








