From 299b44c018b126bd3de681b6e6e8ea06ed9eb85c Mon Sep 17 00:00:00 2001 From: Chris R Date: Thu, 18 Aug 2016 14:00:59 -0700 Subject: [PATCH] React to WebListener settings API changes --- samples/MusicStore.Standalone/Program.cs | 4 ++-- samples/MusicStore/Program.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/MusicStore.Standalone/Program.cs b/samples/MusicStore.Standalone/Program.cs index 3a4c4c6667..4f28682a37 100644 --- a/samples/MusicStore.Standalone/Program.cs +++ b/samples/MusicStore.Standalone/Program.cs @@ -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 diff --git a/samples/MusicStore/Program.cs b/samples/MusicStore/Program.cs index bee570c0e7..7a92f79209 100644 --- a/samples/MusicStore/Program.cs +++ b/samples/MusicStore/Program.cs @@ -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