Archive for May, 2009

Use HttpModule to turn tracing on via the querystring

May 18th, 2009

Sometimes I want to turn tracing on in a production application to troubleshoot issues that I can’t replicate on my development machine.  It’s easy enough to do this by turning on application-level tracing in the web.config file, like so:
<configuration>
 <system.web>
  <trace enabled=”true” pageOutput=”true” />
 </system.web>
</configuration>
The problem with this is that changes to the web.config file cause the app domain to [...]