React to IISIntegration changes.
This commit is contained in:
parent
5840689f64
commit
7ae9315cde
|
|
@ -12,7 +12,7 @@ namespace ServerComparison.TestSites
|
|||
var host = new WebHostBuilder()
|
||||
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
|
||||
.UseDefaultConfiguration(args)
|
||||
.UseIISUrl()
|
||||
.UseIIS()
|
||||
.UseStartup("ServerComparison.TestSites")
|
||||
.Build();
|
||||
|
||||
|
|
|
|||
|
|
@ -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) =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue