Remove reference to UseDefaultHostConfiguration
This commit is contained in:
parent
6829675f5f
commit
afd437f85f
|
|
@ -92,7 +92,6 @@ namespace HotAddSample
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultHostingConfiguration(args)
|
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.UseWebListener()
|
.UseWebListener()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,6 @@ namespace SelfHostServer
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultHostingConfiguration(args)
|
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.UseWebListener(options =>
|
.UseWebListener(options =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue