AzureFunctionsV1.DependencyInjection
1.0.2
See the version list below for details.
dotnet add package AzureFunctionsV1.DependencyInjection --version 1.0.2
NuGet\Install-Package AzureFunctionsV1.DependencyInjection -Version 1.0.2
<PackageReference Include="AzureFunctionsV1.DependencyInjection" Version="1.0.2" />
paket add AzureFunctionsV1.DependencyInjection --version 1.0.2
#r "nuget: AzureFunctionsV1.DependencyInjection, 1.0.2"
// Install AzureFunctionsV1.DependencyInjection as a Cake Addin #addin nuget:?package=AzureFunctionsV1.DependencyInjection&version=1.0.2 // Install AzureFunctionsV1.DependencyInjection as a Cake Tool #tool nuget:?package=AzureFunctionsV1.DependencyInjection&version=1.0.2
How to add dependency-injection in you FunctionApp:
Add Startup class in your function app (shown in below image) You can modify the services based on your requirement. using AzureFunctionsV1.DependencyInjection.Infra;
[Image of Startup]-https://github.com/sanjaykumar19-repo/azure-functions-v1-dependency-injection/blob/master/Startup.PNG
Add below line in your FunctionApp class file. [Image of FunctionApp]- https://github.com/sanjaykumar19-repo/azure-functions-v1-dependency-injection/blob/master/FunctionApp.PNG
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
- Microsoft.Extensions.Configuration (>= 1.1.1)
- Microsoft.Extensions.DependencyInjection (>= 1.1.1)
- Microsoft.Extensions.Logging (>= 1.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.