application-end

Application_End global.asax

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 automatically? + Are there any other reasons why Application_End could be triggered? Thx. ...

App Shutdown C# Windows

hi, my C# app is still in RAM after executing Application.Current.Shutdown(); (db connection is closed before) (Application.Current.Exit += new ExitEventHandler(Current_Exit); is also used ) is there another statement to use ? the problem occurs on different Windows Xp systems and on Server 2008. kind regards, jeff ...

How do I call a webservice in the Application_Exit event

Hi, I have learnt from a lot of sources that it is not possible to call a webservice in the Applicaton_Exit function. I basically want to do a DB update to stop a dispatcher timer with the current timer value when the user closes the browser. How can I achieve this? I am using Silverlight 3.0. Regards, Syed Nadeem. ...

Why would IIS "start" an App that is still running?

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 host WCF services in the app and trap the OnOpening and OnClosing events via a ServiceHostFactory. Thus, we thought, we are guaranteed notification of any application start and stop, sch...