2018-07-22

Tip: Deployment retail=”true”

Here’s another tip to optimize websites developed in ASP.NET: since Framework 2.0, Microsoft offers to configure a Deployment tag to include in  Machine.config file.

<configuration>
   <system.web>
      <deployment retail="true"/>
   </system.web>
</configuration>

This setting has two effects:

  1. Restore the optimal performance of ASP. NET (Compilation, AXD cache resources, memory management, timeouts pages) that were reduced by the debug mode.
  2. And disable debugging, the ASP.NET trace and error messages to complete ASP.NET (whatever settings in Web.config).

More information on MSDN web site.

Leave a Reply

Your email address will not be published. Required fields are marked *