NamedDependencyInjection 2.0.1

dotnet add package NamedDependencyInjection --version 2.0.1
NuGet\Install-Package NamedDependencyInjection -Version 2.0.1
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="NamedDependencyInjection" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NamedDependencyInjection --version 2.0.1
#r "nuget: NamedDependencyInjection, 2.0.1"
#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 NamedDependencyInjection as a Cake Addin
#addin nuget:?package=NamedDependencyInjection&version=2.0.1

// Install NamedDependencyInjection as a Cake Tool
#tool nuget:?package=NamedDependencyInjection&version=2.0.1


<img src="logos/Gnet-banner.png" width="40%" height="40%">

Named Dependency Injection Extensions for .NET Core.

Gnet DependencyInjection Named is a set of extensions to Microsoft.Extensions.DependencyInjection to register on IServiceCollection and get from IServiceProvider named services without override the vanilla .net core dependency injection engine.

Getting Started

Open the solution DependencyInjection.Named.sln on Visual Studio.

How to build the library?

Open the solution file DependencyInjection.Named.sln with Visual Studio, and Build the Solution (Build → Build Solution)


Execute the following make command.

make build

How to run the unit tests?

Open the solution file DependencyInjection.Named.sln with Visual Studio, and run the unit tests (Test → Run All Tests)


Execute the following make command.

make test

How to pack the library?

Open the solution file DependencyInjection.Named.sln with Visual Studio, and pack the HttpContextMoq (Build → Pack HttpContextMoq)

make pack


Please read contributing for details of the code of conduct, and the process for submitting pull requests to us.


Uses SemVer for versioning. For the versions available, see the tags on this repository.


See also the list of contributors who participated in this project.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 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
2.0.1 128 1/23/2024
2.0.0 431 9/13/2021
1.2.0 383 9/10/2021
1.1.0 364 9/9/2021
1.0.0 404 9/1/2021