locked
Performance of ASP.Net when Umbraco is used RRS feed

  • Question

  • User-3144462 posted

    Hi Team,

    I am planning to do the following config changes. Can someone explain the advantages and disadvantages for below config related

    1. IIS7.5 does not show startMode property in advance settings but to setup the pool set the attribute startMode to AlwaysRunning of the IIS config file i.e., C:\Windows\System32\inetsrv\config\applicationHost.config:

    <applicationPools>

        <add name="MyAppWorkerProcess" managedRuntimeVersion="v4.0" startMode="AlwaysRunning" />

    </applicationPools>

    2. Web.config level adding batch and optimizeCompilations

    <system.web>

           <compilation debug="true" targetFramework="4.0" batch="false" optimizeCompilations="true" />

    </system.web>

    Thursday, February 11, 2016 9:13 AM

Answers

  • User-166373564 posted

    Hi,

    Can someone explain the advantages and disadvantages for below config related

    to setup the pool set the attribute startMode to AlwaysRunning

    The application pool for application/service needs to have its startMode set to AlwaysRunning in order for the application/service to successfully auto-start.

    The auto-start feature for an application works only if you set startMode for the application pool used by the application to AlwaysRunning.

    The auto-start settings for an application are not defined in the application’s Web.config file, but in the ApplicationHost.config file for the server. You configure auto-start for an application locally in the configuration dialog box displayed at the application level, but the settings are in the ApplicationHost.config file.

    2. Web.config level adding batch and optimizeCompilations

    optimizeCompilations specifies whether dynamic compilation will recompile an entire site if a top-level file is changed. Top-level files include the Global.asax file and all files in the Bin and App_Code folders. If True, only changed files are recompiled. The default is False.

    For more information, see Understanding ASP.NET Dynamic Compilation.

    hope it helps.

    Regards,

    Angie 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 22, 2016 11:52 AM