Reacting to Kestrel extensions
This commit is contained in:
parent
c2534339f2
commit
2614ffb01d
|
|
@ -34,7 +34,7 @@ namespace HttpOverridesSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultHostingConfiguration(args)
|
.UseDefaultHostingConfiguration(args)
|
||||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
.UseKestrel()
|
||||||
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
@ -43,3 +43,4 @@ namespace HttpOverridesSample
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ namespace ResponseBufferingSample
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultHostingConfiguration(args)
|
.UseDefaultHostingConfiguration(args)
|
||||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
.UseKestrel()
|
||||||
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
// .UseIIS() // This repo can no longer reference IIS because IISIntegration depends on it.
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
@ -48,3 +48,4 @@ namespace ResponseBufferingSample
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue