React to WebListener settings API changes

This commit is contained in:
Chris R 2016-08-18 14:00:59 -07:00
parent 51b13161d8
commit 299b44c018
2 changed files with 4 additions and 4 deletions

View File

@ -31,8 +31,8 @@ namespace MusicStore.Standalone
// modify the applicationHost.config to enable NTLM.
builder.UseWebListener(options =>
{
options.Listener.AuthenticationManager.AuthenticationSchemes = AuthenticationSchemes.NTLM;
options.Listener.AuthenticationManager.AllowAnonymous = false;
options.ListenerSettings.Authentication.Schemes = AuthenticationSchemes.NTLM;
options.ListenerSettings.Authentication.AllowAnonymous = false;
});
}
else

View File

@ -31,8 +31,8 @@ namespace MusicStore
// modify the applicationHost.config to enable NTLM.
builder.UseWebListener(options =>
{
options.Listener.AuthenticationManager.AuthenticationSchemes = AuthenticationSchemes.NTLM;
options.Listener.AuthenticationManager.AllowAnonymous = false;
options.ListenerSettings.Authentication.Schemes = AuthenticationSchemes.NTLM;
options.ListenerSettings.Authentication.AllowAnonymous = false;
});
}
else