From 30db1b04970367b76398e6ef9f579035c3b6d7de Mon Sep 17 00:00:00 2001 From: John Luo Date: Sun, 17 Jan 2016 18:18:36 -0800 Subject: [PATCH] Reacting to hosting rename --- src/MusicStore/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MusicStore/Program.cs b/src/MusicStore/Program.cs index 4f8d7ee36f..aa772a8e14 100644 --- a/src/MusicStore/Program.cs +++ b/src/MusicStore/Program.cs @@ -6,13 +6,13 @@ namespace MusicStore { public static void Main(string[] args) { - var application = new WebApplicationBuilder() - .UseConfiguration(WebApplicationConfiguration.GetDefault(args)) + var host = new WebHostBuilder() + .UseDefaultConfiguration(args) .UseIISPlatformHandlerUrl() .UseStartup("MusicStore") .Build(); - application.Run(); + host.Run(); } } }