diff --git a/samples/csharp_dotnetcore/85.bot-authentication-sni/Bots/AuthCertificateBot.cs b/samples/csharp_dotnetcore/85.bot-authentication-sni/Bots/AuthSNIBot.cs similarity index 90% rename from samples/csharp_dotnetcore/85.bot-authentication-sni/Bots/AuthCertificateBot.cs rename to samples/csharp_dotnetcore/85.bot-authentication-sni/Bots/AuthSNIBot.cs index 463bd2e6ef..fd8300485a 100644 --- a/samples/csharp_dotnetcore/85.bot-authentication-sni/Bots/AuthCertificateBot.cs +++ b/samples/csharp_dotnetcore/85.bot-authentication-sni/Bots/AuthSNIBot.cs @@ -5,13 +5,11 @@ using System.Threading; using System.Threading.Tasks; using Microsoft.Bot.Builder; -using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Schema; -using Microsoft.Extensions.Logging; namespace Microsoft.BotBuilderSamples { - public class AuthCertificateBot : ActivityHandler + public class AuthSNIBot : ActivityHandler { protected override async Task OnMembersAddedAsync(IList membersAdded, ITurnContext turnContext, CancellationToken cancellationToken) { diff --git a/samples/csharp_dotnetcore/85.bot-authentication-sni/Startup.cs b/samples/csharp_dotnetcore/85.bot-authentication-sni/Startup.cs index ce201c1cdd..a310c4372f 100644 --- a/samples/csharp_dotnetcore/85.bot-authentication-sni/Startup.cs +++ b/samples/csharp_dotnetcore/85.bot-authentication-sni/Startup.cs @@ -2,7 +2,6 @@ // Licensed under the MIT License. using System; -using System.Security.Cryptography.X509Certificates; using Azure.Identity; using Azure.Security.KeyVault.Certificates; using Microsoft.AspNetCore.Builder; @@ -76,7 +75,7 @@ public void ConfigureServices(IServiceCollection services) services.AddSingleton(); // Create the bot as a transient. In this case the ASP Controller is expecting an IBot. - services.AddTransient(); + services.AddTransient(); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.