Visual Studio does not call Application_End in Debug

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

+3
source share
2 answers

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 , , . .

0

Application_End Application_End?

Application_End , .

.

, , Application_End, .

0

All Articles