From 025a781b9a7d8027e45499ef09a86730a5b7ee7c Mon Sep 17 00:00:00 2001 From: Kiran Challa Date: Thu, 28 Apr 2016 14:30:34 -0700 Subject: [PATCH] Fixed build break --- src/MusicStore/Program.cs | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/src/MusicStore/Program.cs b/src/MusicStore/Program.cs index d6b4bfa072..9b39487205 100644 --- a/src/MusicStore/Program.cs +++ b/src/MusicStore/Program.cs @@ -30,22 +30,8 @@ namespace MusicStore // modify the applicationHost.config to enable NTLM. builder.UseWebListener(options => { - // Set up NTLM authentication for WebListener as follows. - // For IIS and IISExpress use inetmgr to setup NTLM authentication on the application or - // modify the applicationHost.config to enable NTLM. - builder.UseWebListener(options => - { - options.Listener.AuthenticationManager.AuthenticationSchemes = AuthenticationSchemes.NTLM; - }); - } - else - { - builder.UseWebListener(); - } - } - else - { - builder.UseKestrel(); + options.Listener.AuthenticationManager.AuthenticationSchemes = AuthenticationSchemes.NTLM; + }); } var host = builder.Build();