It is an ASP.NET MVC website. I add some log in the Application_end method. I know there are some circumstances when the Application_end will be call ...
It is an ASP.NET MVC website. I add some log in the Application_end method. I know there are some circumstances when the Application_end will be call ...
I want to handle application shutdown gracefully when stopping debugging or stopping the IIS Express web site, but I cannot seem to get Application_En ...
I am trying to write some logging for unexspected session losses, i'm unsure if its a timeout issue or something is cuasing me to loss my sessions. F ...
I have been tasked with running a simple audit that will record each and every page that has been requested by any user and store the data of the page ...
I know that in the following cases Apllication_end will be called: edit the config file for an application that's running. change a dll in the b ...
i run a background thread in Application_Start() in global.asax to use it like windows service but applicaton_end fire when all session is ended in my ...
I want to save a file when my application ends. For that, I need to get the root folder of the application. The only way I know to do that is using ...
I'm writing an http module, and I want to add a method that is called when (and only when) the appdomain gets recycled. I don't want to add anything t ...
I develop and debug an ASP.NET application with VS 2010. My ASP.NET application holds some connections to other applications on other machines. When I ...
the Application_End() event in my application is getting fired without any call to the event by my code after i fire a button for update or delete pro ...
How do I prevent an ASP.Net site from being unloaded by IIS? I have what may be the dumbest website in the world - once per hour it wakes up and writ ...
I'm trying to implement a class (lets call it CustomerConnection class) which implements System.Web.HttpApplication interface. I tried to implement tw ...
I want to have a method which gets executed when session expires or user logs out or user closes the web application. How can i catch these events in ...
I need to determine WHY the application pool is recycling. (its for no obvious reason) Is there any way to determine this inside of the application_e ...
I want to be able to maintain certain objects between application restarts. To do that, I want to write specific cached items out to disk in Global. ...
We have an ASP.NET (3.5 SP1) application running on IIS7 / Windows 2008. We trap Application_Start and Application_End events in Global.asax. We also ...
my C# app is still in RAM after executing Application.Current.Shutdown(); (db connection is closed before) (Application.Current.Exit += new ExitEven ...
Can anybody tell me when Application_End is triggered in a lifecycle of an application? When all sessions are ended, will Application_End be triggered ...