awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

C# Dependency Injection Libraries

Ranking updated Jul 13, 2026

For a dependency injection library for C#, the strongest matches are autofac/autofac (Autofac is a comprehensive and high-performance dependency injection container), ninject/ninject (Ninject is a long-standing dependency injection framework for) and unitycontainer/unity (Unity is a long-standing dependency injection container for). simpleinjector/simpleinjector is also worth a look. Each is ranked by relevance to your query, popularity and recent activity.

We curate open-source GitHub repositories matching “best c sharp dependency injection libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

C# Dependency Injection Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • autofac/autofacautofac avatar

    autofac/Autofac

    4,649View on GitHub↗

    Autofac is a dependency injection framework and inversion of control container for .NET. It functions as a component registration engine that decouples class implementations from their dependencies by injecting required services via constructors or properties. The project includes an assembly scanning library to automatically discover and register components within compiled binaries based on specific type criteria. It provides a service lifetime manager to control object memory duration using singletons, instance-per-dependency, or isolated request scopes. The framework covers a broad range

    Autofac is a comprehensive and high-performance dependency injection container for .NET that natively supports constructor injection, advanced service lifetime management, and assembly scanning, while maintaining full compatibility with the Microsoft.Extensions.DependencyInjection abstraction.

    C#Assembly Scanning RegistrationsConstructor InjectionService Lifetime Scopes
    View on GitHub↗4,649
  • ninject/ninjectninject avatar

    ninject/Ninject

    2,676View on GitHub↗

    the ninja of .net dependency injectors

    Ninject is a long-standing dependency injection framework for .NET that supports constructor injection and service lifetime management, though it predates the modern Microsoft.Extensions.DependencyInjection abstraction and is less optimized for current high-performance requirements.

    C#Dependency Injection
    View on GitHub↗2,676
  • unitycontainer/unityunitycontainer avatar

    unitycontainer/unity

    1,701View on GitHub↗

    This repository contains all relevant information about Unity Container suit

    Unity is a long-standing dependency injection container for .NET that supports constructor injection and service lifetime management, though it is a legacy framework that predates the modern Microsoft.Extensions.DependencyInjection abstraction.

    Dependency Injection
    View on GitHub↗1,701
  • simpleinjector/simpleinjectorsimpleinjector avatar

    simpleinjector/SimpleInjector

    1,259View on GitHub↗

    Simple Injector is a high-performance dependency injection container for .NET that supports constructor injection and service lifetime management, though it intentionally avoids full compatibility with Microsoft.Extensions.DependencyInjection to maintain its own design philosophy.

    C#Dependency Injection
    View on GitHub↗1,259

Related searches

  • a dependency injection library for TypeScript
  • a dependency injection framework for Java
  • a dependency injection container for PHP
  • a dependency injection container for Python
  • a configuration library for C# applications
  • a logging library for C# applications
  • a library for building C# CLI applications
  • a dependency injection toolkit for Go services