Reacting to Hosting changes

This commit is contained in:
John Luo 2016-03-22 12:00:46 -07:00
parent 3ffe4b5924
commit 6b338232fd
2 changed files with 2 additions and 2 deletions

View File

@ -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>()

View File

@ -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>()