React to Kestrel extensions
This commit is contained in:
parent
cad873d949
commit
7a3da26d87
|
|
@ -76,7 +76,7 @@ namespace IISSample
|
|||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseKestrel()
|
||||
.UseIIS()
|
||||
.UseStartup<Startup>()
|
||||
.Build();
|
||||
|
|
@ -85,3 +85,4 @@ namespace IISSample
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,10 +13,11 @@ namespace TestSites
|
|||
.UseDefaultHostingConfiguration(args)
|
||||
.UseIIS()
|
||||
.UseStartup("TestSites")
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseKestrel()
|
||||
.Build();
|
||||
|
||||
host.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue