What are scenarios that trigger Application_End event? What are scenarios that trigger Application_End event? asp.net asp.net

What are scenarios that trigger Application_End event?


The Application_End event gets fired when the IIS pool is recycled or when you make changes to the bin folder or web.config file. You should change the default IIS setting to schedule a recycle once a day on offpeak hours.


It will be fired in one of those situations:

  1. IIS pool is restarted.

  2. Web.config changes.

  3. Application is restarted.