Update samples

This commit is contained in:
John Luo 2016-03-30 16:02:47 -07:00
parent 4e78a2d02e
commit a51ba19b16
3 changed files with 3 additions and 4 deletions

View File

@ -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();

View File

@ -1,3 +0,0 @@
{
"server": "Microsoft.AspNetCore.Server.Kestrel"
}

View File

@ -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
} }
} }
} }