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