Reacting to Hosting changes
This commit is contained in:
parent
3ffe4b5924
commit
6b338232fd
|
|
@ -33,7 +33,7 @@ namespace HttpOverridesSample
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ namespace ResponseBufferingSample
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
||||
.UseStartup<Startup>()
|
||||
|
|
|
|||
Loading…
Reference in New Issue