From 7f522d79d1295b5127b31ba5a0487ef488bd8bb7 Mon Sep 17 00:00:00 2001 From: Qi Kang Date: Fri, 6 Nov 2020 16:18:29 +0800 Subject: [PATCH] replace deprecated azure blob interface --- runtime/dotnet/azurefunctions/Startup.cs | 3 ++- runtime/dotnet/azurewebapp/Startup.cs | 3 ++- .../dotnet/core/Microsoft.BotFramework.Composer.Core.csproj | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/runtime/dotnet/azurefunctions/Startup.cs b/runtime/dotnet/azurefunctions/Startup.cs index e390ec2ff7..63606c1f91 100644 --- a/runtime/dotnet/azurefunctions/Startup.cs +++ b/runtime/dotnet/azurefunctions/Startup.cs @@ -9,6 +9,7 @@ using Microsoft.Bot.Builder.AI.QnA; using Microsoft.Bot.Builder.ApplicationInsights; using Microsoft.Bot.Builder.Azure; +using Microsoft.Bot.Builder.Azure.Blobs; using Microsoft.Bot.Builder.BotFramework; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Dialogs.Adaptive; @@ -176,7 +177,7 @@ public void ConfigureTranscriptLoggerMiddleware(BotFrameworkHttpAdapter adapter, { if (ConfigSectionValid(settings?.BlobStorage?.ConnectionString) && ConfigSectionValid(settings?.BlobStorage?.Container)) { - adapter.Use(new TranscriptLoggerMiddleware(new AzureBlobTranscriptStore(settings?.BlobStorage?.ConnectionString, settings?.BlobStorage?.Container))); + adapter.Use(new TranscriptLoggerMiddleware(new BlobsTranscriptStore(settings?.BlobStorage?.ConnectionString, settings?.BlobStorage?.Container))); } } diff --git a/runtime/dotnet/azurewebapp/Startup.cs b/runtime/dotnet/azurewebapp/Startup.cs index 9cfd219f86..3157c2e3a6 100644 --- a/runtime/dotnet/azurewebapp/Startup.cs +++ b/runtime/dotnet/azurewebapp/Startup.cs @@ -13,6 +13,7 @@ using Microsoft.Bot.Builder.AI.QnA; using Microsoft.Bot.Builder.ApplicationInsights; using Microsoft.Bot.Builder.Azure; +using Microsoft.Bot.Builder.Azure.Blobs; using Microsoft.Bot.Builder.BotFramework; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Dialogs.Adaptive; @@ -50,7 +51,7 @@ public void ConfigureTranscriptLoggerMiddleware(BotFrameworkHttpAdapter adapter, { if (ConfigSectionValid(settings?.BlobStorage?.ConnectionString) && ConfigSectionValid(settings?.BlobStorage?.Container)) { - adapter.Use(new TranscriptLoggerMiddleware(new AzureBlobTranscriptStore(settings?.BlobStorage?.ConnectionString, settings?.BlobStorage?.Container))); + adapter.Use(new TranscriptLoggerMiddleware(new BlobsTranscriptStore(settings?.BlobStorage?.ConnectionString, settings?.BlobStorage?.Container))); } } diff --git a/runtime/dotnet/core/Microsoft.BotFramework.Composer.Core.csproj b/runtime/dotnet/core/Microsoft.BotFramework.Composer.Core.csproj index 3300dadad5..7e6a15c899 100644 --- a/runtime/dotnet/core/Microsoft.BotFramework.Composer.Core.csproj +++ b/runtime/dotnet/core/Microsoft.BotFramework.Composer.Core.csproj @@ -18,6 +18,7 @@ +