Reacting to new hosting API
This commit is contained in:
parent
8872037812
commit
07785c9ae0
|
|
@ -47,11 +47,13 @@ namespace Microsoft.AspNet.WebSockets.Client.Test
|
||||||
|
|
||||||
var application = new WebApplicationBuilder()
|
var application = new WebApplicationBuilder()
|
||||||
.UseConfiguration(config)
|
.UseConfiguration(config)
|
||||||
.UseServerFactory("Microsoft.AspNet.Server.Kestrel")
|
.UseServer("Microsoft.AspNet.Server.Kestrel")
|
||||||
.Configure(startup)
|
.Configure(startup)
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
return application.Start();
|
application.Start();
|
||||||
|
|
||||||
|
return application;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue