AzureFunctionsV1.DependencyInjection
1.0.3
dotnet add package AzureFunctionsV1.DependencyInjection --version 1.0.3
NuGet\Install-Package AzureFunctionsV1.DependencyInjection -Version 1.0.3
<PackageReference Include="AzureFunctionsV1.DependencyInjection" Version="1.0.3" />
paket add AzureFunctionsV1.DependencyInjection --version 1.0.3
#r "nuget: AzureFunctionsV1.DependencyInjection, 1.0.3"
// Install AzureFunctionsV1.DependencyInjection as a Cake Addin #addin nuget:?package=AzureFunctionsV1.DependencyInjection&version=1.0.3 // Install AzureFunctionsV1.DependencyInjection as a Cake Tool #tool nuget:?package=AzureFunctionsV1.DependencyInjection&version=1.0.3
How to add dependencies 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.