I'm currently working on a web application based on ASP.Net. I need to do some treatments when the application is stopped or is dying.
In the HttpApplication inherited class, I know that I can define some event handler methods, notabily :
Application_Error(object sender, EventArgs e)Application_End(object sender, EventArgs e)
I wondered if I must put my code on the Application_End method AND the Application_Error method, or if the Application_End is fired even on error.