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