Tuesday, March 1, 2011

When I publish my ASP.NET site in RELEASE mode, will tracing still work?

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?

From stackoverflow
  • 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>
    
  • Beware that tracing completely breaks any msajax stuff you have going on

    willem : True, I noticed it causes problems when enabling PageOutput. However, if I rather output to a standard trace listener all seems fine.

0 comments:

Post a Comment