ASP.Net. Enable tracing in code.
I'm looking for a way to enable tracing for an ASP.Net page via codebehind without using page or webconfig methods.
My end goal is to have a page that responds to a querystring like? trace = true and then display trace information, but before that the page would have rendered fine.
I've done a few searches and my word combination ends up with tutorials on using tracing in general, so any help would be much appreciated.
Thanks -Birk
+2
source to share