Reacting to Hosting changes
This commit is contained in:
parent
4052c26a73
commit
7314e6568a
|
|
@ -92,7 +92,7 @@ namespace HotAddSample
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.WebListener")
|
||||
.Build();
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ namespace SelfHostServer
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var host = new WebHostBuilder()
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseDefaultHostingConfiguration(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseServer("Microsoft.AspNetCore.Server.WebListener")
|
||||
.Build();
|
||||
|
|
|
|||
Loading…
Reference in New Issue