Merge pull request #3821 from microsoft/lamil/resolveIssues
Moved back to AzureBlobTranscriptStore until sdk update to 4.13
This commit is contained in:
Коммит
3cb7733999
|
@ -5,7 +5,7 @@ using System;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Bot.Builder;
|
||||
using Microsoft.Bot.Builder.Azure.Blobs;
|
||||
using Microsoft.Bot.Builder.Azure;
|
||||
using Microsoft.Bot.Builder.Integration.ApplicationInsights.Core;
|
||||
using Microsoft.Bot.Builder.Integration.AspNet.Core;
|
||||
using Microsoft.Bot.Builder.Integration.AspNet.Core.Skills;
|
||||
|
@ -62,7 +62,7 @@ namespace VirtualAssistantSample.Adapters
|
|||
|
||||
// Uncomment the following line for local development without Azure Storage
|
||||
// Use(new TranscriptLoggerMiddleware(new MemoryTranscriptStore()));
|
||||
Use(new TranscriptLoggerMiddleware(new BlobsTranscriptStore(settings.BlobStorage.ConnectionString, settings.BlobStorage.Container)));
|
||||
Use(new TranscriptLoggerMiddleware(new AzureBlobTranscriptStore(settings.BlobStorage.ConnectionString, settings.BlobStorage.Container)));
|
||||
Use(new ShowTypingMiddleware());
|
||||
Use(new SetLocaleMiddleware(settings.DefaultLocale ?? "en-us"));
|
||||
Use(new EventDebuggerMiddleware());
|
||||
|
|
|
@ -5,7 +5,7 @@ using System;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Bot.Builder;
|
||||
using Microsoft.Bot.Builder.Azure.Blobs;
|
||||
using Microsoft.Bot.Builder.Azure;
|
||||
using Microsoft.Bot.Builder.Integration.ApplicationInsights.Core;
|
||||
using Microsoft.Bot.Builder.Integration.AspNet.Core;
|
||||
using Microsoft.Bot.Builder.Integration.AspNet.Core.Skills;
|
||||
|
@ -63,7 +63,7 @@ namespace VirtualAssistantSample.Adapters
|
|||
|
||||
// Uncomment the following line for local development without Azure Storage
|
||||
// Use(new TranscriptLoggerMiddleware(new MemoryTranscriptStore()));
|
||||
Use(new TranscriptLoggerMiddleware(new BlobsTranscriptStore(settings.BlobStorage.ConnectionString, settings.BlobStorage.Container)));
|
||||
Use(new TranscriptLoggerMiddleware(new AzureBlobTranscriptStore(settings.BlobStorage.ConnectionString, settings.BlobStorage.Container)));
|
||||
Use(new ShowTypingMiddleware());
|
||||
Use(new SetLocaleMiddleware(settings.DefaultLocale ?? "en-us"));
|
||||
Use(new EventDebuggerMiddleware());
|
||||
|
|
|
@ -5,7 +5,7 @@ using System;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Bot.Builder;
|
||||
using Microsoft.Bot.Builder.Azure.Blobs;
|
||||
using Microsoft.Bot.Builder.Azure;
|
||||
using Microsoft.Bot.Builder.Integration.ApplicationInsights.Core;
|
||||
using Microsoft.Bot.Builder.Integration.AspNet.Core;
|
||||
using Microsoft.Bot.Builder.Integration.AspNet.Core.Skills;
|
||||
|
@ -60,7 +60,7 @@ namespace VirtualAssistantSample.Adapters
|
|||
|
||||
// Uncomment the following line for local development without Azure Storage
|
||||
// Use(new TranscriptLoggerMiddleware(new MemoryTranscriptStore()));
|
||||
Use(new TranscriptLoggerMiddleware(new BlobsTranscriptStore(settings.BlobStorage.ConnectionString, settings.BlobStorage.Container)));
|
||||
Use(new TranscriptLoggerMiddleware(new AzureBlobTranscriptStore(settings.BlobStorage.ConnectionString, settings.BlobStorage.Container)));
|
||||
Use(new ShowTypingMiddleware());
|
||||
Use(new SetLocaleMiddleware(settings.DefaultLocale ?? "en-us"));
|
||||
Use(new EventDebuggerMiddleware());
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Bot.Builder;
|
||||
using Microsoft.Bot.Builder.Azure.Blobs;
|
||||
using Microsoft.Bot.Builder.Azure;
|
||||
using Microsoft.Bot.Builder.Integration.ApplicationInsights.Core;
|
||||
using Microsoft.Bot.Builder.Integration.AspNet.Core;
|
||||
using Microsoft.Bot.Builder.TraceExtensions;
|
||||
|
@ -48,7 +48,7 @@ namespace SkillSample.Adapters
|
|||
|
||||
// Uncomment the following line for local development without Azure Storage
|
||||
// Use(new TranscriptLoggerMiddleware(new MemoryTranscriptStore()));
|
||||
Use(new TranscriptLoggerMiddleware(new BlobsTranscriptStore(settings.BlobStorage.ConnectionString, settings.BlobStorage.Container)));
|
||||
Use(new TranscriptLoggerMiddleware(new AzureBlobTranscriptStore(settings.BlobStorage.ConnectionString, settings.BlobStorage.Container)));
|
||||
Use(new TelemetryLoggerMiddleware(telemetryClient, logPersonalInformation: true));
|
||||
Use(new ShowTypingMiddleware());
|
||||
Use(new SetLocaleMiddleware(settings.DefaultLocale ?? "en-us"));
|
||||
|
|
Загрузка…
Ссылка в новой задаче