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.

Advertisements
Tagged with: ,
Posted in Tips and others

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow me
   RSS Feed    Twitter    Linked In

Write you email address to subscribe at this blog and to receive new posts by mail.

Join 565 other followers

Who I am?






%d bloggers like this: