diff --git a/samples/ChatSample/ChatSample.csproj b/samples/ChatSample/ChatSample.csproj index 534b0343b0..5eb3b34414 100644 --- a/samples/ChatSample/ChatSample.csproj +++ b/samples/ChatSample/ChatSample.csproj @@ -1,4 +1,6 @@ - + + + netcoreapp1.1 @@ -6,6 +8,10 @@ Exe aspnet-ChatSample-f11cf018-e0a8-49fa-b749-4c0eb5c9150b $(PackageTargetFallback);portable-net45+win8 + 1.2.0-* + + + false @@ -21,10 +27,10 @@ - - + + - + @@ -34,8 +40,7 @@ - + diff --git a/samples/ClientSample/ClientSample.csproj b/samples/ClientSample/ClientSample.csproj index 7566343a52..db1240c79d 100644 --- a/samples/ClientSample/ClientSample.csproj +++ b/samples/ClientSample/ClientSample.csproj @@ -1,8 +1,14 @@ - + + + netcoreapp1.1 Exe + 1.2.0-* + + + false diff --git a/samples/SocialWeather/SocialWeather.csproj b/samples/SocialWeather/SocialWeather.csproj index c8d75f06ca..273c5c8984 100644 --- a/samples/SocialWeather/SocialWeather.csproj +++ b/samples/SocialWeather/SocialWeather.csproj @@ -1,9 +1,15 @@ - + + + netcoreapp1.1 true Exe + 1.2.0-* + + + false diff --git a/samples/SocialWeather/Startup.cs b/samples/SocialWeather/Startup.cs index 494b89bdcb..1166386668 100644 --- a/samples/SocialWeather/Startup.cs +++ b/samples/SocialWeather/Startup.cs @@ -35,7 +35,7 @@ namespace SocialWeather } app.UseSockets(o => { o.MapEndpoint("/weather"); }); - app.UseStaticFiles(); + app.UseFileServer(); var formatterResolver = app.ApplicationServices.GetRequiredService(); formatterResolver.AddFormatter>("json"); diff --git a/samples/SocialWeather/wwwroot/weather.html b/samples/SocialWeather/wwwroot/index.html similarity index 100% rename from samples/SocialWeather/wwwroot/weather.html rename to samples/SocialWeather/wwwroot/index.html diff --git a/samples/SocketsSample/SocketsSample.csproj b/samples/SocketsSample/SocketsSample.csproj index 450a71bc59..481c258242 100644 --- a/samples/SocketsSample/SocketsSample.csproj +++ b/samples/SocketsSample/SocketsSample.csproj @@ -1,4 +1,6 @@ - + + + netcoreapp1.1;net46 @@ -7,6 +9,10 @@ true Exe $(PackageTargetFallback);portable-net45+win8+wp8+wpa81 + 1.2.0-* + + + false @@ -20,9 +26,7 @@ - + diff --git a/samples/WebSocketSample/WebSocketSample.csproj b/samples/WebSocketSample/WebSocketSample.csproj index 5a99012e87..c6d9bb267f 100644 --- a/samples/WebSocketSample/WebSocketSample.csproj +++ b/samples/WebSocketSample/WebSocketSample.csproj @@ -3,6 +3,9 @@ netcoreapp1.1 Exe + + + false diff --git a/test/Microsoft.AspNetCore.SignalR.Test.Server/Microsoft.AspNetCore.SignalR.Test.Server.csproj b/test/Microsoft.AspNetCore.SignalR.Test.Server/Microsoft.AspNetCore.SignalR.Test.Server.csproj index 13e4ea9760..f161a75653 100644 --- a/test/Microsoft.AspNetCore.SignalR.Test.Server/Microsoft.AspNetCore.SignalR.Test.Server.csproj +++ b/test/Microsoft.AspNetCore.SignalR.Test.Server/Microsoft.AspNetCore.SignalR.Test.Server.csproj @@ -1,14 +1,13 @@ - + netcoreapp1.1;net46 - - true - true + win7-x64 + 1.2.0-* true Exe @@ -22,9 +21,7 @@ - + diff --git a/test/Microsoft.Extensions.WebSockets.Internal.Tests/WebSocketConnectionTests.PingPong.cs b/test/Microsoft.Extensions.WebSockets.Internal.Tests/WebSocketConnectionTests.PingPong.cs index af1ba4e329..0d863df652 100644 --- a/test/Microsoft.Extensions.WebSockets.Internal.Tests/WebSocketConnectionTests.PingPong.cs +++ b/test/Microsoft.Extensions.WebSockets.Internal.Tests/WebSocketConnectionTests.PingPong.cs @@ -29,7 +29,7 @@ namespace Microsoft.Extensions.WebSockets.Internal.Tests // Act // Wait for pings to be sent - await Task.Delay(200); + await Task.Delay(500); await pair.ServerSocket.CloseAsync(WebSocketCloseStatus.NormalClosure).OrTimeout(); var clientSummary = await client.OrTimeout(); diff --git a/test/WebSocketsTestApp/WebSocketsTestApp.csproj b/test/WebSocketsTestApp/WebSocketsTestApp.csproj index d92ad47b87..65af174584 100644 --- a/test/WebSocketsTestApp/WebSocketsTestApp.csproj +++ b/test/WebSocketsTestApp/WebSocketsTestApp.csproj @@ -1,4 +1,4 @@ - + @@ -6,6 +6,7 @@ netcoreapp1.1 win7-x64 + 1.2.0-* Exe