I need to deal with an outdated ASP.NET application written in the .NET Framework 1.1. While checking the application code, I found the interesting part. The application starts its own thread in the Application_Start event handler (Global.asax). This thread should run the entire life of the application.
I read for a long time that this should never be used, but I don’t remember why. What are the problems associated with this application design? Is it possible to resume a flow upon failure? Will an alarm be recorded somewhere automatically (event log)? Can ASP.NET runtime kill a thread for any reason?
At the moment, I'm not interested in disposing of AppPool. It restarts the application, all sessions and creates a new thread.
source
share