|
| Your hunch is correct as far as I know,
Trace will always send info to the trace.axd. The first
two statements are not wrong but are not complete --
Transcender seems to be complete.
These trace questions are everywhere!
>-----Original Message-----
>Hey. I'm doing a few practice exams to prepare for 70-
305. When trace
>pageOutput is set to true in web.config, some sources say
the trace info
>does not get appended to trace.axd- it has to be set to
false-, and some say
>it doesn't matter. Check this out-
>
>(MeasureUp practice exam) "If the pageOutput attribute is
set to 'false',
>all tracing messages are appended to trace.axd. If the
value is 'true',
>tracing messages are appended to the page it is
associated with."
>
>(MSPress Self-Paced training kit p295) "To write trace
messages to a log
>file for an entire application, in the application's
web.config file, set
>the <trace> element's pageOutput attribute to 'false'.
ASP.NET then writes
>trace output to the Trace.axd file."
>
>Now this-
>(Transcender exam A. 28) "You have developed an ASP.NET
application, and you
>want to enable tracing on all pages. You want the trace
information to
>appear on the bottom of each page. You also want any
browser to be able to
>view the trace output in the .axd trace utility. Which
action should you
>perform?
>
>Correct answer: <trace enabled="true" pageOutput="true"
localOnly="false">
>Explanation excerpt: "Setting the pageOutput attribute to
false, or not
>specifying a pageOutput value, will send the information
to the trace.axd
>file; a true value will send the information to both the
trace.axd file and
>the bottom of each web page."
>
>In my limited testing on my asp.net web host, I found the
last (Transcender)
>to be right.
>
>I'd really appreciate an answer on this- how could MS and
MeasureUp both be
>wrong ....
>
>Thanks!
>
>Justin D
>
>
>.
>
|
|