Configure the application restart behavior during uploads

When you upload dlls on a live website, during the copying and pasting, the website is restarted several times, but the application pool is not recycled. Because the site is public, each one of those restarts is waiting for the whole site startup procedure. To prevent multiple website restarts during dlls upload you must change the following setting in your web.config file:

The waitChangeNotification and maxWaitChangeNotification values are in seconds and must be higher than the total time taken by the copy - paste procedure in seconds. This can speed up the time that it takes for the site to load after upload.

The following diagram explains the basics of how an ASP.NET site is hosted in the w3wp.exe process:

For more information, see HttpRuntimeSection.WaitChangeNotification Property and HttpRuntimeSection.MaxWaitChangeNotification Property

Was this article helpful?