diff --git a/src/SignalRServiceExtension/Config/SignalRWebJobsBuilderExtensions.cs b/src/SignalRServiceExtension/Config/SignalRWebJobsBuilderExtensions.cs index ffa73f2..c7a087c 100644 --- a/src/SignalRServiceExtension/Config/SignalRWebJobsBuilderExtensions.cs +++ b/src/SignalRServiceExtension/Config/SignalRWebJobsBuilderExtensions.cs @@ -2,6 +2,7 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; +using Microsoft.Extensions.Azure; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.Azure.WebJobs.Extensions.SignalRService @@ -25,6 +26,7 @@ public static IWebJobsBuilder AddSignalR(this IWebJobsBuilder builder) } builder.AddExtension(); + builder.Services.AddAzureClientsCore(); builder.Services.AddSingleton(); return builder; }