React to IISIntegration changes.

This commit is contained in:
Chris R 2016-03-14 15:38:23 -07:00
parent 5840689f64
commit 7ae9315cde
2 changed files with 1 additions and 6 deletions

View File

@ -12,7 +12,7 @@ namespace ServerComparison.TestSites
var host = new WebHostBuilder()
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
.UseDefaultConfiguration(args)
.UseIISUrl()
.UseIIS()
.UseStartup("ServerComparison.TestSites")
.Build();

View File

@ -4,7 +4,6 @@
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.Extensions.Logging;
using Microsoft.Net.Http.Server;
@ -55,10 +54,6 @@ namespace ServerComparison.TestSites
listener.AuthenticationManager.AuthenticationSchemes =
AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM | AuthenticationSchemes.AllowAnonymous;
}
else
{
app.UseIIS();
}
app.Use((context, next) =>
{