diff --git a/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/Http/Controllers/DemoController.cs b/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/Http/Controllers/DemoController.cs
index 888f4a7b..33d764f6 100644
--- a/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/Http/Controllers/DemoController.cs
+++ b/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/Http/Controllers/DemoController.cs
@@ -13,14 +13,12 @@
// ScreenshotsController retrieves the screenshots stored by the bot
// ***********************************************************************-
+using Microsoft.Extensions.Options;
using Microsoft.Graph.Communications.Common.Telemetry;
using Microsoft.Graph.Communications.Core.Serialization;
-using Microsoft.Skype.Internal.Bots.Media;
using RecordingBot.Model.Constants;
using RecordingBot.Services.Contract;
-using RecordingBot.Services.Media;
using RecordingBot.Services.ServiceSetup;
-using RecordingBot.Services.Util;
using System;
using System.Collections.Generic;
using System.Net;
@@ -64,7 +62,7 @@ public DemoController()
_logger = AppHost.AppHostInstance.Resolve();
_eventPublisher = AppHost.AppHostInstance.Resolve();
_botService = AppHost.AppHostInstance.Resolve();
- _settings = AppHost.AppHostInstance.Resolve();
+ _settings = AppHost.AppHostInstance.Resolve>().Value;
}
///
diff --git a/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/Http/Controllers/JoinCallController.cs b/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/Http/Controllers/JoinCallController.cs
index f1100d1e..a18c2db7 100644
--- a/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/Http/Controllers/JoinCallController.cs
+++ b/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/Http/Controllers/JoinCallController.cs
@@ -11,13 +11,13 @@
//
//
// ***********************************************************************
+using Microsoft.Extensions.Options;
using Microsoft.Graph;
using Microsoft.Graph.Communications.Common.Telemetry;
using Microsoft.Graph.Communications.Core.Serialization;
using RecordingBot.Model.Constants;
using RecordingBot.Model.Models;
using RecordingBot.Services.Contract;
-using RecordingBot.Services.Media;
using RecordingBot.Services.ServiceSetup;
using System;
using System.Net;
@@ -59,7 +59,7 @@ public JoinCallController()
_logger = AppHost.AppHostInstance.Resolve();
_eventPublisher = AppHost.AppHostInstance.Resolve();
_botService = AppHost.AppHostInstance.Resolve();
- _settings = AppHost.AppHostInstance.Resolve();
+ _settings = AppHost.AppHostInstance.Resolve>().Value;
}
///
@@ -70,11 +70,11 @@ public JoinCallController()
/// The event publisher.
/// The bot service.
/// The settings.
- public JoinCallController(IGraphLogger logger, IEventPublisher eventPublisher, IBotService botService, AzureSettings settings)
+ public JoinCallController(IGraphLogger logger, IEventPublisher eventPublisher, IBotService botService, IAzureSettings settings)
{
_logger = logger;
_botService = botService;
- _settings = settings;
+ _settings = (AzureSettings)settings;
_eventPublisher = eventPublisher;
}
diff --git a/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/ServiceSetup/AppHost.cs b/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/ServiceSetup/AppHost.cs
index 09b8e416..76ead9f9 100644
--- a/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/ServiceSetup/AppHost.cs
+++ b/Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Services/ServiceSetup/AppHost.cs
@@ -18,8 +18,6 @@
using Microsoft.Owin.Hosting;
using RecordingBot.Services.Contract;
using RecordingBot.Services.Http;
-using RecordingBot.Services.Media;
-using RecordingBot.Services.Util;
using System;
namespace RecordingBot.Services.ServiceSetup