Question

When I publish my ASP.NET site in RELEASE mode, and set compilation debug="false", will my ASP.NET and System.Diagnostics Tracing still work?

Was it helpful?

Solution

I believe that tracing is set separately from debugging in the configuration, so yes, if properly configured.

<configuration>
 <system.web>
  <trace enabled="true" requestLimit="40" localOnly="false"/>
 </system.web>
</configuration>

OTHER TIPS

Beware that tracing completely breaks any msajax stuff you have going on

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top