If you'd like to redirect your page trace infomation to a file (which can be useful when you are trying to run down a problem and don't want the world to see your trace information during testing), it's as simple as this:
Add this to your web.config:
<
The key is the pageOutput="false" which tells the framework to redirect the trace info to the trace.axd file. To view the trace information, you just need to load the page in the browser, such as:
http://localhost:4774/trace.axd
This will allow you to see the trace history of any browsed files since the trace was started, as well as clearing the trace history. Just remember to remove this before you deploy (or make sure you compile in release mode!).
Powered by: newtelligence dasBlog 2.3.9074.18820
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2012, © Copyright 2010
E-mail