Skip to content
This repository was archived by the owner on Mar 19, 2019. It is now read-only.

Commit 7314e65

Browse files
committed
Reacting to Hosting changes
1 parent 4052c26 commit 7314e65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/HotAddSample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void Configure(IApplicationBuilder app, ILoggerFactory loggerfactory)
9292
public static void Main(string[] args)
9393
{
9494
var host = new WebHostBuilder()
95-
.UseDefaultConfiguration(args)
95+
.UseDefaultHostingConfiguration(args)
9696
.UseStartup<Startup>()
9797
.UseServer("Microsoft.AspNetCore.Server.WebListener")
9898
.Build();

samples/SelfHostServer/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void Configure(IApplicationBuilder app, ILoggerFactory loggerfactory)
4141
public static void Main(string[] args)
4242
{
4343
var host = new WebHostBuilder()
44-
.UseDefaultConfiguration(args)
44+
.UseDefaultHostingConfiguration(args)
4545
.UseStartup<Startup>()
4646
.UseServer("Microsoft.AspNetCore.Server.WebListener")
4747
.Build();

0 commit comments

Comments
 (0)