I am implementing some code in Application_Start and Application_End (global.asax). When I start ASP.NET Developer Server, Application_Start is working fine. When I modify the web.config file, the Application_Start method is called again, but Application_End is never called.
Does anyone know how I can get Application_End to execute before the second call to Application_Start
My code opens the server socket in Application_Start, so Visual Studio cannot restart my application without closing it. For VS security, do not restart my application.
VS Application_End , , . .
Application_End Application_End?
Application_End , .
.
, , Application_End, .