From 7314e6568af37613f4993b8a29a46b6f96bb48a1 Mon Sep 17 00:00:00 2001 From: John Luo Date: Tue, 22 Mar 2016 11:42:20 -0700 Subject: [PATCH] Reacting to Hosting changes --- samples/HotAddSample/Startup.cs | 2 +- samples/SelfHostServer/Startup.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/HotAddSample/Startup.cs b/samples/HotAddSample/Startup.cs index da67990715..0a37ddf937 100644 --- a/samples/HotAddSample/Startup.cs +++ b/samples/HotAddSample/Startup.cs @@ -92,7 +92,7 @@ namespace HotAddSample public static void Main(string[] args) { var host = new WebHostBuilder() - .UseDefaultConfiguration(args) + .UseDefaultHostingConfiguration(args) .UseStartup() .UseServer("Microsoft.AspNetCore.Server.WebListener") .Build(); diff --git a/samples/SelfHostServer/Startup.cs b/samples/SelfHostServer/Startup.cs index 36b3c7f29c..e10079e497 100644 --- a/samples/SelfHostServer/Startup.cs +++ b/samples/SelfHostServer/Startup.cs @@ -41,7 +41,7 @@ namespace SelfHostServer public static void Main(string[] args) { var host = new WebHostBuilder() - .UseDefaultConfiguration(args) + .UseDefaultHostingConfiguration(args) .UseStartup() .UseServer("Microsoft.AspNetCore.Server.WebListener") .Build();