Posted By

housecor on 01/14/11


Versions (?)

.Net go live checklist

 / Published in: C#

  1. 1. <compilation debug="false">. This reduces overhead and increases performance and caching.
  3. 2. Turn on custom errors via <customErrors mode="on" or remoteOnly.
  5. 3. Disable or at least limit tracing info. <trace mostRecent="true" enabled="true" requestLimit="1000" pageOutput="false" localOnly="true"/>
  7. Alternatively, this can be put in the machine config to enforce all the above for all sites on the server:
  8. <configuration>
  9. <system.web>
  10. <deployment retail="true"
  11. </system.web>
  12. </configuration>
  14. 4. Enable Error logging. Elmah works great and is easy to integrate.

Report this snippet  

You need to login to post a comment.