diff --git a/src/Microsoft.AspNetCore.Hosting/WebHostExtensions.cs b/src/Microsoft.AspNetCore.Hosting/WebHostExtensions.cs index 4c2d815010..6504208c0b 100644 --- a/src/Microsoft.AspNetCore.Hosting/WebHostExtensions.cs +++ b/src/Microsoft.AspNetCore.Hosting/WebHostExtensions.cs @@ -20,6 +20,7 @@ namespace Microsoft.AspNetCore.Hosting { Console.CancelKeyPress += (sender, eventArgs) => { + Console.WriteLine("Application is shutting down..."); cts.Cancel(); // Don't terminate the process immediately, wait for the Main thread to exit gracefully.