Is there a way to gently shut down the Visual Studio web server

David Thielen 2,331 Reputation points
2023-11-30T22:07:03.6333333+00:00

Hi all;

I have some code in my Blazor server app that, I believe, runs when IIS shuts down (via IDisposable). Is there a way, when running under the Visual Studio debugger, to have it perform the shutdown notifications/operations that occur when running on Azure App Server and it gently shuts down there?

thanks - dave

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
951 questions
{count} votes

0 additional answers

Sort by: Most helpful