From b64618bc2d29720a52ce6cc3c4f9dda482f54b87 Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Fri, 24 Apr 2015 09:55:14 -0700 Subject: [PATCH] React to auth API changes. Remove extra dependencies. --- test/ServerComparison.TestSites/StartupNtlmAuthentication.cs | 4 +--- test/ServerComparison.TestSites/project.json | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/test/ServerComparison.TestSites/StartupNtlmAuthentication.cs b/test/ServerComparison.TestSites/StartupNtlmAuthentication.cs index 7c82dd7..e0211f0 100644 --- a/test/ServerComparison.TestSites/StartupNtlmAuthentication.cs +++ b/test/ServerComparison.TestSites/StartupNtlmAuthentication.cs @@ -48,8 +48,6 @@ namespace ServerComparison.TestSites { loggerFactory.AddConsole(minLevel: LogLevel.Warning); - app.UseErrorPage(ErrorPageOptions.ShowAll); - // Set up NTLM authentication for WebListener like below. // For IIS and IISExpress: Use inetmgr to setup NTLM authentication on the application vDir or modify the applicationHost.config to enable NTLM. if ((app.Server as ServerInformation) != null) @@ -73,7 +71,7 @@ namespace ServerComparison.TestSites } else { - context.Response.Challenge(); + context.Authentication.Challenge(); return Task.FromResult(0); } } diff --git a/test/ServerComparison.TestSites/project.json b/test/ServerComparison.TestSites/project.json index ea0420a..54221ed 100644 --- a/test/ServerComparison.TestSites/project.json +++ b/test/ServerComparison.TestSites/project.json @@ -4,8 +4,6 @@ "dependencies": { "Kestrel": "1.0.0-*", - "Microsoft.AspNet.Diagnostics": "1.0.0-*", - "Microsoft.AspNet.Http.Core": "1.0.0-*", "Microsoft.AspNet.Server.IIS": "1.0.0-*", "Microsoft.AspNet.Server.WebListener": "1.0.0-*", "Microsoft.AspNet.WebUtilities": "1.0.0-*",