Answered by:
When Application_End event fires

Question
-
User-1635248550 posted
When Application_End event fires
Thursday, October 15, 2009 7:00 AM
Answers
-
User1759847912 posted
Hi,
It called once per lifetime of the application before the application is unloaded.
http://msdn.microsoft.com/en-us/library/ms178473.aspx (Application_End)
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, October 15, 2009 9:06 AM -
User2077888689 posted
Hi,
This event will be fired when IIS pool is restarted/ when the application is restarted. It will also be fired when the application domain is reloaded i.e for example when you change the web.config, the application is reloaded into a different application domain. In all these cases Application_End event is fired.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, October 15, 2009 9:11 AM
All replies
-
User1759847912 posted
Hi,
It called once per lifetime of the application before the application is unloaded.
http://msdn.microsoft.com/en-us/library/ms178473.aspx (Application_End)
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, October 15, 2009 9:06 AM -
User2077888689 posted
Hi,
This event will be fired when IIS pool is restarted/ when the application is restarted. It will also be fired when the application domain is reloaded i.e for example when you change the web.config, the application is reloaded into a different application domain. In all these cases Application_End event is fired.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, October 15, 2009 9:11 AM -
User-481631678 posted
Basically this event fires when your application is unloaded from memory. There are possible ways that application is unloaded from memory:-
1- Stop IIS Server.
2- Modification in contents of application folder or in Web.config.
3- IIS Recycle Application
Thursday, October 15, 2009 12:50 PM