Hi, I have need in an ASP.NET application to do some brief socket io when the appdomain im running in goes away. In either the case where ASP.NET starts another copy of my app in another appdomain the same process or where the whole worker process is rolled
over and a new copy is started in a new appdomain in a new process I need to know in the old appdomain that im being shutdown so i can send some network io out informing other services that im going away. I have hooked the appdomain unload event and do some
cleanup there but by the time my event handler is executed its already too late to do socket io. (various exceptions). Is there some other way to know this is happening before its too late to notify a remote service of the fact? thanks, -john
John Lemire
Member
10 Points
2 Posts
Application Restart
Oct 15, 2004 01:02 AM|LINK