I have a couple processes running in the background that I'd like to gracefully stop when application is terminating due to an app pool recycle. Does anyone know how to handle this gracefully?
I am looking for something similar to Application_End in the older versions of ASP.NET.