Asp.net core middleware, allows to wait for ongoing requests to finish.
Install-Package GracefullShutdown -Version 1.0.3
dotnet add package GracefullShutdown --version 1.0.3
<PackageReference Include="GracefullShutdown" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GracefullShutdown --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
1.0.3 Fixed use of ApplicationStopping, ApplicationStopped
1.0.2 Depend on net standard 1.3