Twia.AzureFunction.SimpleInjector
2.2.0
Azure Function extension to allow injection of service dependencies into an Azure function V2, using Simple Injector.
Install-Package Twia.AzureFunction.SimpleInjector -Version 2.2.0
dotnet add package Twia.AzureFunction.SimpleInjector --version 2.2.0
<PackageReference Include="Twia.AzureFunction.SimpleInjector" Version="2.2.0" />
paket add Twia.AzureFunction.SimpleInjector --version 2.2.0
#r "nuget: Twia.AzureFunction.SimpleInjector, 2.2.0"
Release Notes
Version 2.1.0:
- Added access to IWebJobsBuilder builder before creating SimpleInjector configuration by extending Startup class with IConfigureFunction implementation.
- Added extension methods for cross-wiring from ServiceProvider to Container.
- Added settings injection for getting configuration settings values using IConfiguration Bind.
Version 2.0.2:
- Updated SimpleInjector to 4.6.0.
- Updated Microsoft.NET.Sdk.Functions to 1.0.28. This seems to fix issues with generation of extensions.json on build.
Version 2.0.1:
- Use the Microsoft provided implementation of Logger<T> for ILogger<T>.
Version 2.0.0:
- Adds the ability to configure which logging (ILogger or ILogger<T>) will be made available to the injected types.
Version 1.0.1:
- Added documentation.
Version 1.0.0:
- Initial Release.
Dependencies
-
.NETStandard 2.0
- Ensure.That (>= 8.1.1)
- Microsoft.Azure.WebJobs (>= 3.0.8)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Logging (>= 2.2.0)
- SimpleInjector (>= 4.6.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.