In this video I'll show how to add Dependency Injection in the Azure Function.
Azure Functions supports the dependency injection (DI) software design pattern, which is a technique to achieve Inversion of Control (IoC) between classes and their dependencies.
Prerequisites
Before you can use dependency injection, you must install the following NuGet packages:
Microsoft.Azure.Functions.Extensions
Microsoft.NET.Sdk.Functions package version 1.0.28 or later
Microsoft.Extensions.DependencyInjection (currently, only version 3.x and earlier supported)
To LearnMore - https://docs.microsoft.com/en-us/azur...
#AzureFunction #DependencyInjection #IOC #Azure #InversionofControl #DI