awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

C# Dependency Injection Libraries

排名更新于 2026年7月13日

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.

我们为您精选了匹配 “best c sharp dependency injection libraries” 的开源 GitHub 仓库。结果按与您查询的相关性进行排名 — 您可以使用下方筛选器缩小范围,或通过 AI 进行优化。

C# Dependency Injection Libraries

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • autofac/autofacautofac 的头像

    autofac/Autofac

    4,649在 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
    在 GitHub 上查看↗4,649
  • ninject/ninjectninject 的头像

    ninject/Ninject

    2,676在 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
    在 GitHub 上查看↗2,676
  • unitycontainer/unityunitycontainer 的头像

    unitycontainer/unity

    1,701在 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
    在 GitHub 上查看↗1,701
  • simpleinjector/simpleinjectorsimpleinjector 的头像

    simpleinjector/SimpleInjector

    1,259在 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
    在 GitHub 上查看↗1,259

Related searches

  • a dependency injection library for TypeScript
  • a dependency injection framework for Java
  • a dependency injection container for PHP
  • Python 依赖注入容器
  • a configuration library for C# applications
  • a logging library for C# applications
  • a library for building C# CLI applications
  • Go 服务依赖注入工具包