Perfomance: Increase response time at the first call or after a .NET 2.0 web form modification

If the response time after modifying a web form or the web.config file, or after 20 minutes of inactivity, etc. is more than 20 seconds, do the following:

  1. Edit the configuration file corresponding to your pool application settings
    (DRIVE:\Windows\Microsoft.NET\Framework\v2.0.50727\ASPNET.CONFIG or DRIVE:\Windows\Microsoft.NET\Framework64\v2.0.50727\ASPNET.CONFIG).

  2. Add the <generatePublisherEvidence enabled="false"/> parameter :

    <?xml version="1.0" encoding="UTF-8" ?>  
    <configuration>
        <runtime>
            <legacyUnhandledExceptionPolicy enabled="false" />
            <legacyImpersonationPolicy enabled="true"/>
            <alwaysFlowImpersonationPolicy enabled="false"/>
            <SymbolReadingPolicy enabled="1" />
            <generatePublisherEvidence enabled="false"/>
        </runtime>
    </configuration>