Posted By

housecor on 01/14/11


Tagged


Versions (?)

.Net go live checklist


 / Published in: C#
 

  1. 1. <compilation debug="false">. This reduces overhead and increases performance and caching.
  2.  
  3. 2. Turn on custom errors via <customErrors mode="on" or remoteOnly.
  4.  
  5. 3. Disable or at least limit tracing info. <trace mostRecent="true" enabled="true" requestLimit="1000" pageOutput="false" localOnly="true"/>
  6.  
  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>
  13.  
  14. 4. Enable Error logging. Elmah works great and is easy to integrate.

Report this snippet  

You need to login to post a comment.