React to Kestrel extensions
This commit is contained in:
parent
272343c3ad
commit
8e92dd634e
|
|
@ -30,7 +30,7 @@ namespace StaticFilesSample
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseKestrel()
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseStartup<Startup>()
|
||||
.Build();
|
||||
|
|
@ -38,4 +38,4 @@ namespace StaticFilesSample
|
|||
host.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue