ASP.NET Production Deployment Config

In this example we will look at how to use the deployment configuration element on production servers hosting ASP.NET web applications to automatically configure trace, custom errors and compilation settings.

Add the deployment element and set attribute retail=”true” to automatically configure:


You can set it in the machine.config so that it is server wide or per website in the web.config.


No comments yet.

Add Yours

  • Author Avatar


Comment Arrow

About Author


Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning hands down.