diff --git a/src/Microsoft.AspNet.Authentication.JwtBearer/JwtBearerAuthenticationMiddleware.cs b/src/Microsoft.AspNet.Authentication.JwtBearer/JwtBearerAuthenticationMiddleware.cs index 973c6f80d0..0365b5e7b4 100644 --- a/src/Microsoft.AspNet.Authentication.JwtBearer/JwtBearerAuthenticationMiddleware.cs +++ b/src/Microsoft.AspNet.Authentication.JwtBearer/JwtBearerAuthenticationMiddleware.cs @@ -99,7 +99,7 @@ namespace Microsoft.AspNet.Authentication.JwtBearer webRequestHandler.ServerCertificateValidationCallback = options.BackchannelCertificateValidator.Validate; } #else - new WinHttpHandler(); + new HttpClientHandler(); #endif return handler; } diff --git a/src/Microsoft.AspNet.Authentication.JwtBearer/project.json b/src/Microsoft.AspNet.Authentication.JwtBearer/project.json index 048c770808..97fbbb5e5d 100644 --- a/src/Microsoft.AspNet.Authentication.JwtBearer/project.json +++ b/src/Microsoft.AspNet.Authentication.JwtBearer/project.json @@ -19,7 +19,7 @@ }, "dnxcore50": { "dependencies": { - "System.Net.Http.WinHttpHandler": "4.0.0-beta-*" + "System.Net.Http": "4.0.1-beta-*" } } } diff --git a/src/Microsoft.AspNet.Authentication.MicrosoftAccount/project.json b/src/Microsoft.AspNet.Authentication.MicrosoftAccount/project.json index ddf5d2dfe2..bcc6b3df0c 100644 --- a/src/Microsoft.AspNet.Authentication.MicrosoftAccount/project.json +++ b/src/Microsoft.AspNet.Authentication.MicrosoftAccount/project.json @@ -11,11 +11,6 @@ }, "frameworks": { "dnx451": { }, - "dnxcore50": { - "dependencies": { - "System.Dynamic.Runtime": "4.0.11-beta-*", - "System.ObjectModel": "4.0.11-beta-*" - } - } + "dnxcore50": { } } } diff --git a/src/Microsoft.AspNet.Authentication.OAuth/OAuthAuthenticationMiddleware.cs b/src/Microsoft.AspNet.Authentication.OAuth/OAuthAuthenticationMiddleware.cs index 9590573c6a..a9f326f8c3 100644 --- a/src/Microsoft.AspNet.Authentication.OAuth/OAuthAuthenticationMiddleware.cs +++ b/src/Microsoft.AspNet.Authentication.OAuth/OAuthAuthenticationMiddleware.cs @@ -115,7 +115,7 @@ namespace Microsoft.AspNet.Authentication.OAuth webRequestHandler.ServerCertificateValidationCallback = options.BackchannelCertificateValidator.Validate; } #else - new WinHttpHandler(); + new HttpClientHandler(); #endif return handler; } diff --git a/src/Microsoft.AspNet.Authentication.OAuth/project.json b/src/Microsoft.AspNet.Authentication.OAuth/project.json index abe2427c19..5dc4078287 100644 --- a/src/Microsoft.AspNet.Authentication.OAuth/project.json +++ b/src/Microsoft.AspNet.Authentication.OAuth/project.json @@ -19,7 +19,7 @@ }, "dnxcore50": { "dependencies": { - "System.Net.Http.WinHttpHandler": "4.0.0-beta-*" + "System.Net.Http": "4.0.1-beta-*" } } } diff --git a/src/Microsoft.AspNet.Authentication.OpenIdConnect/OpenIdConnectAuthenticationMiddleware.cs b/src/Microsoft.AspNet.Authentication.OpenIdConnect/OpenIdConnectAuthenticationMiddleware.cs index fb714fb001..d7d1ea45d3 100644 --- a/src/Microsoft.AspNet.Authentication.OpenIdConnect/OpenIdConnectAuthenticationMiddleware.cs +++ b/src/Microsoft.AspNet.Authentication.OpenIdConnect/OpenIdConnectAuthenticationMiddleware.cs @@ -167,7 +167,7 @@ namespace Microsoft.AspNet.Authentication.OpenIdConnect webRequestHandler.ServerCertificateValidationCallback = options.BackchannelCertificateValidator.Validate; } #else - new WinHttpHandler(); + new HttpClientHandler(); #endif return handler; } diff --git a/src/Microsoft.AspNet.Authentication.OpenIdConnect/project.json b/src/Microsoft.AspNet.Authentication.OpenIdConnect/project.json index 00703fdac4..3165bdeba1 100644 --- a/src/Microsoft.AspNet.Authentication.OpenIdConnect/project.json +++ b/src/Microsoft.AspNet.Authentication.OpenIdConnect/project.json @@ -21,7 +21,7 @@ "dnxcore50": { "dependencies": { "System.Collections.Specialized": "4.0.1-beta-*", - "System.Net.Http.WinHttpHandler": "4.0.0-beta-*" + "System.Net.Http": "4.0.1-beta-*" } } } diff --git a/src/Microsoft.AspNet.Authentication.Twitter/TwitterAuthenticationMiddleware.cs b/src/Microsoft.AspNet.Authentication.Twitter/TwitterAuthenticationMiddleware.cs index 2f197896a0..79bcef9c8c 100644 --- a/src/Microsoft.AspNet.Authentication.Twitter/TwitterAuthenticationMiddleware.cs +++ b/src/Microsoft.AspNet.Authentication.Twitter/TwitterAuthenticationMiddleware.cs @@ -109,7 +109,7 @@ namespace Microsoft.AspNet.Authentication.Twitter webRequestHandler.ServerCertificateValidationCallback = options.BackchannelCertificateValidator.Validate; } #else - new WinHttpHandler(); + new HttpClientHandler(); #endif return handler; } diff --git a/src/Microsoft.AspNet.Authentication.Twitter/project.json b/src/Microsoft.AspNet.Authentication.Twitter/project.json index 6818942e39..a567a377a8 100644 --- a/src/Microsoft.AspNet.Authentication.Twitter/project.json +++ b/src/Microsoft.AspNet.Authentication.Twitter/project.json @@ -18,7 +18,7 @@ }, "dnxcore50": { "dependencies": { - "System.Net.Http.WinHttpHandler": "4.0.0-beta-*" + "System.Net.Http": "4.0.1-beta-*" } } }