WebActivator
WebActivator copied to clipboard
WebActivatorEx.ApplicationShutdownMethod doesn't get invoked
I have an application and configured PreApplicationStartMethod and ApplicationShutdownMethod , the PreApplicationStartMethod get invoked when I am starting the application but the ApplicationShutdownMethod doesn't get invoked when I stop the application(I am trying to run the application from visual studio in debug mode, I tried deploying the same in azure app service also , it doesn't work)
Is this an ASP.NET app or something else? See https://github.com/davidebbo/WebActivator/blob/8a21247a5bdc61af3077bafceac602a9cb236875/WebActivator/ActivationManager.cs#L49-L62 for the logic used.