AzureFunctionsV1.DependencyInjection 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AzureFunctionsV1.DependencyInjection --version 1.0.0                
NuGet\Install-Package AzureFunctionsV1.DependencyInjection -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AzureFunctionsV1.DependencyInjection" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AzureFunctionsV1.DependencyInjection --version 1.0.0                
#r "nuget: AzureFunctionsV1.DependencyInjection, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AzureFunctionsV1.DependencyInjection as a Cake Addin
#addin nuget:?package=AzureFunctionsV1.DependencyInjection&version=1.0.0

// Install AzureFunctionsV1.DependencyInjection as a Cake Tool
#tool nuget:?package=AzureFunctionsV1.DependencyInjection&version=1.0.0                

How to add dependency-injection in you FunctionApp:

  1. 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

  1. 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 Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 4,623 7/24/2020
1.0.2 469 7/19/2020
1.0.1 466 7/19/2020
1.0.0 480 7/19/2020