From b7fb516aac4f6a97ce3cfa65494209e675256432 Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Fri, 17 Oct 2014 10:42:51 -0700 Subject: [PATCH] Update Claims dependency. --- samples/HelloWorld/project.json | 2 +- samples/SelfHostServer/Startup.cs | 1 - src/Microsoft.AspNet.Server.WebListener/project.json | 2 +- src/Microsoft.Net.Http.Server/WebListener.cs | 3 --- src/Microsoft.Net.Http.Server/project.json | 2 +- 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/samples/HelloWorld/project.json b/samples/HelloWorld/project.json index 6f76aa53bc..9ef42357b6 100644 --- a/samples/HelloWorld/project.json +++ b/samples/HelloWorld/project.json @@ -9,7 +9,7 @@ "System.Collections": "4.0.10-beta-*", "System.Console": "4.0.0-beta-*", "System.Globalization": "4.0.10-beta-*", - "System.IO": "4.0.0-beta-*", + "System.IO": "4.0.10-beta-*", "System.Runtime": "4.0.20-beta-*", "System.Threading.Tasks": "4.0.10-beta-*" } diff --git a/samples/SelfHostServer/Startup.cs b/samples/SelfHostServer/Startup.cs index f4302222b9..f037e486bb 100644 --- a/samples/SelfHostServer/Startup.cs +++ b/samples/SelfHostServer/Startup.cs @@ -37,7 +37,6 @@ namespace SelfHostServer { if (context.IsWebSocketRequest) { - Console.WriteLine("WebSocket"); byte[] bytes = Encoding.ASCII.GetBytes("Hello World: " + DateTime.Now); WebSocket webSocket = await context.AcceptWebSocketAsync(); await webSocket.SendAsync(new ArraySegment(bytes, 0, bytes.Length), WebSocketMessageType.Text, true, CancellationToken.None); diff --git a/src/Microsoft.AspNet.Server.WebListener/project.json b/src/Microsoft.AspNet.Server.WebListener/project.json index 59de096b54..f39754f666 100644 --- a/src/Microsoft.AspNet.Server.WebListener/project.json +++ b/src/Microsoft.AspNet.Server.WebListener/project.json @@ -32,7 +32,7 @@ "System.Runtime.Extensions": "4.0.10-beta-*", "System.Runtime.Handles": "4.0.0-beta-*", "System.Runtime.InteropServices": "4.0.20-beta-*", - "System.Security.Claims": "1.0.0-*", + "System.Security.Claims": "4.0.0-beta-*", "System.Security.Cryptography.X509Certificates": "4.0.0-beta-*", "System.Security.Principal": "4.0.0-beta-*", "System.Text.Encoding": "4.0.10-beta-*", diff --git a/src/Microsoft.Net.Http.Server/WebListener.cs b/src/Microsoft.Net.Http.Server/WebListener.cs index 70755ec5d3..57bafd0c49 100644 --- a/src/Microsoft.Net.Http.Server/WebListener.cs +++ b/src/Microsoft.Net.Http.Server/WebListener.cs @@ -27,7 +27,6 @@ using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; -using System.Diagnostics.Contracts; using System.Runtime.InteropServices; using System.Security.Authentication.ExtendedProtection; using System.Threading; @@ -36,8 +35,6 @@ using Microsoft.Framework.Logging; namespace Microsoft.Net.Http.Server { - using AppFunc = Func; - /// /// An HTTP server wrapping the Http.Sys APIs that accepts requests. /// diff --git a/src/Microsoft.Net.Http.Server/project.json b/src/Microsoft.Net.Http.Server/project.json index 6be4acb186..01dab743c5 100644 --- a/src/Microsoft.Net.Http.Server/project.json +++ b/src/Microsoft.Net.Http.Server/project.json @@ -30,7 +30,7 @@ "System.Runtime.Extensions": "4.0.10-beta-*", "System.Runtime.Handles": "4.0.0-beta-*", "System.Runtime.InteropServices": "4.0.20-beta-*", - "System.Security.Claims": "1.0.0-*", + "System.Security.Claims": "4.0.0-beta-*", "System.Security.Cryptography.X509Certificates": "4.0.0-beta-*", "System.Security.Principal": "4.0.0-beta-*", "System.Text.Encoding": "4.0.10-beta-*",