React to Kestrel extensions

This commit is contained in:
John Luo 2016-03-30 15:53:12 -07:00
parent 272343c3ad
commit 8e92dd634e
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ namespace StaticFilesSample
{ {
var host = new WebHostBuilder() var host = new WebHostBuilder()
.UseDefaultHostingConfiguration(args) .UseDefaultHostingConfiguration(args)
.UseServer("Microsoft.AspNetCore.Server.Kestrel") .UseKestrel()
.UseIISPlatformHandlerUrl() .UseIISPlatformHandlerUrl()
.UseStartup<Startup>() .UseStartup<Startup>()
.Build(); .Build();
@ -38,4 +38,4 @@ namespace StaticFilesSample
host.Run(); host.Run();
} }
} }
} }