Update samples
This commit is contained in:
parent
4e78a2d02e
commit
a51ba19b16
|
|
@ -74,6 +74,7 @@ namespace AutobahnTestServer
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseDefaultHostingConfiguration(args)
|
.UseDefaultHostingConfiguration(args)
|
||||||
|
.UseKestrel()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"server": "Microsoft.AspNetCore.Server.Kestrel"
|
|
||||||
}
|
|
||||||
|
|
@ -47,7 +47,7 @@ namespace Microsoft.AspNetCore.WebSockets.Client.Test
|
||||||
|
|
||||||
var host = new WebHostBuilder()
|
var host = new WebHostBuilder()
|
||||||
.UseConfiguration(config)
|
.UseConfiguration(config)
|
||||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
.UseKestrel()
|
||||||
.Configure(startup)
|
.Configure(startup)
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
|
|
@ -57,3 +57,4 @@ namespace Microsoft.AspNetCore.WebSockets.Client.Test
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue