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)
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)