diff --git a/test/ServerComparison.TestSites/StartupNtlmAuthentication.cs b/test/ServerComparison.TestSites/StartupNtlmAuthentication.cs index 7c82dd74a1..e0211f0de3 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 ea0420a18c..54221edb94 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-*",