show how to exit

- grammer
- verbiage
This commit is contained in:
mishfit 2015-07-27 11:29:05 -05:00 committed by Chris R
parent 4154dbb8c3
commit 466c441882
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ namespace Microsoft.AspNet.Hosting
var host = new WebHostBuilder(_serviceProvider, config).Build();
using (host.Start())
{
Console.WriteLine("Started");
Console.WriteLine("Application started. Press Ctrl+C to shut down.");
var appShutdownService = host.ApplicationServices.GetRequiredService<IApplicationShutdown>();
Console.CancelKeyPress += (sender, eventArgs) =>
{