Abblix.DependencyInjection 2.2.0

Prefix Reserved
dotnet add package Abblix.DependencyInjection --version 2.2.0
                    
NuGet\Install-Package Abblix.DependencyInjection -Version 2.2.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="Abblix.DependencyInjection" Version="2.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Abblix.DependencyInjection" Version="2.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Abblix.DependencyInjection" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Abblix.DependencyInjection --version 2.2.0
                    
#r "nuget: Abblix.DependencyInjection, 2.2.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.
#:package Abblix.DependencyInjection@2.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Abblix.DependencyInjection&version=2.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Abblix.DependencyInjection&version=2.2.0
                    
Install as a Cake Tool

Abblix DependencyInjection

Abblix.DependencyInjection extends Microsoft's default dependency injection framework with advanced patterns essential for building modular, extensible .NET applications. It enables service aliasing, composite services, decorators, and flexible registration overrides — all integrating seamlessly with Microsoft.Extensions.DependencyInjection.

Key Features

  • Service Aliasing: Register a service under multiple interfaces without duplicating instances, enabling flexible resolution patterns
  • Composite Services: Combine multiple implementations of the same interface into a single composite, ideal for chain-of-responsibility and pipeline patterns
  • Decorator Pattern: Wrap existing service registrations with cross-cutting concerns (logging, caching, validation) without modifying original implementations
  • Registration Overrides: Override dependencies directly via type, instance, or factory — simplifying testing and environment-specific configurations
  • Lifetime Management: Full support for Scoped, Singleton, and Transient lifetimes with advanced composition scenarios

Installation

dotnet add package Abblix.DependencyInjection

Usage Example

services.AddSingleton<ITokenValidator, JwtTokenValidator>();

// Decorate with logging
services.Decorate<ITokenValidator, LoggingTokenValidator>();

// Add alias for alternate resolution
services.AddAlias<ISecurityTokenValidator, ITokenValidator>();

Part of the Abblix OIDC Server Ecosystem

Abblix.DependencyInjection provides the modular architecture backbone for all Abblix packages:

Package Description
Abblix.Utils Utility library with crypto, URI, and JSON helpers
Abblix.DependencyInjection Advanced .NET DI extensions (this package)
Abblix.JWT JWT signing, encryption, and validation using .NET crypto primitives
Abblix.OIDC.Server Core OpenID Connect server implementation
Abblix.OIDC.Server.MVC ASP.NET MVC integration for OIDC server

Getting Started

To learn more about the Abblix OIDC Server product, visit our Documentation site and explore the Getting Started Guide.

Contacts

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Abblix.DependencyInjection:

Package Downloads
Abblix.JWT

A lightweight, easy-to-use library for working with JSON Web Tokens (JWT) in .NET applications. Features include token validation, custom claims, signature verification, and audience validation, making it an ideal choice for developers looking to secure their .NET applications efficiently.

Abblix.OIDC.Server

Flexible OpenID Connect and OAuth 2.0 server-side implementation for modern ASP.NET projects

Abblix.OIDC.Server.MVC

The package integrates Abblix's OIDC Server capabilities with ASP.NET MVC, offering seamless support for OpenID Connect in MVC applications. It enables fast and easy implementation of secure OpenID Connect protocols, ensuring security features are accessible within the MVC framework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.0 408 2/18/2026
2.1.0 579 12/8/2025
2.0.1 664 12/1/2025
2.0.0 254 11/26/2025
1.6.0 318 8/14/2025
1.5.0 283 6/25/2025
1.4.0 338 4/9/2025
1.3.1 289 12/3/2024
1.3.0.1 268 11/28/2024
1.3.0 274 11/13/2024
1.2.0.1 229 10/16/2024
1.2.0 245 10/11/2024
1.1.0 337 7/9/2024
1.0.100 298 5/3/2024
Loading failed

Code quality improvements and dependency updates. Full details: https://github.com/Abblix/Oidc.Server/releases/tag/v2.2