When i studied for the Microsoft exam (70-562, Microsoft .NET Framework 3.5, ASP.NET Application Development) i found an interesting setting that i didn’t known, the Deployment.

This configuration setting ensures that your application will override important application level settings used when you developed your web application. It will ensure that the following configurations are done:

  • debug is set to false
  • page output tracing is disabled
  • force customErrors to be shown to remote users (it will ensure that the end user only see friendly error messages)

If you want to activate this setting, you need to put the following configuration on the machine.config:

<configuration>

      <system.web>

            <deployment retail="true"/>

      </system.web>

</configuration>

Some references:

LEAVE A REPLY

Please enter your comment!
Please enter your name here