Reacting to Kestrel extensions
This commit is contained in:
parent
14473b5458
commit
c0d265ce7b
|
|
@ -81,7 +81,7 @@ namespace SessionSample
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseKestrel()
|
||||
.UseIISPlatformHandlerUrl()
|
||||
.UseStartup<Startup>()
|
||||
.Build();
|
||||
|
|
@ -89,4 +89,4 @@ namespace SessionSample
|
|||
host.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue