Blogger news

Blogger templates

Wednesday, July 17, 2019

Azure Functions Dependency Injection


Azure Functions supports the dependency injection, which builds on top of the ASP.NET Core Dependency Injection features. Support for dependency injection begins with Azure Functions 2.x. This is a hand-on lab which shows how to implement dependency injection in Azure function 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 Optional: Microsoft.Extensions.Http (Only required for registering HttpClient at startup)




No comments:

Post a Comment