C# ioc-container

Open-source C# projects categorized as ioc-container

Top 9 C# ioc-container Projects

  • Autofac

    An addictive .NET IoC container

  • Project mention: Modular Dependency Injection in .NET | dev.to | 2024-03-25

    When I was building application with .NET Framework I always used libraries like Autofac and SimpleInjector for dependency injection. I really liked to create modules (Packages in SimpleInjector) to achieve higher cohesion and lower coupling in my class libraries. I made a module for every class library in which all dependencies inside of that class library were registered. Why should my web application (for example) know if MyBeautifulService in MyBeautifulClassLibrary should be transient or singleton?

  • Simple Injector

    An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.

  • Project mention: Modular Dependency Injection in .NET | dev.to | 2024-03-25

    When I was building application with .NET Framework I always used libraries like Autofac and SimpleInjector for dependency injection. I really liked to create modules (Packages in SimpleInjector) to achieve higher cohesion and lower coupling in my class libraries. I made a module for every class library in which all dependencies inside of that class library were registered. Why should my web application (for example) know if MyBeautifulService in MyBeautifulClassLibrary should be transient or singleton?

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • StructureMap

    A Dependency Injection/Inversion of Control tool for .NET

  • Reflex

    Minimal dependency injection framework for Unity (by gustavopsantos)

  • Project mention: Another small hack I use for prototyping | /r/Unity3D | 2023-12-10

    There is also Reflex, a fast but more minimalistic solution. I haven't really heard much about people's experiences using this, so not sure how good it is in practice.

  • Meet Grace

    Grace is a feature rich dependency injection container library (by ipjohnson)

  • di-framework

    ↗ A Dependency Injection framework for Unity game engine.

  • Simplify.DI

    Simplify is an open-source set of lightweight .NET libraries that provide infrastructure for your applications. DI and mocking friendly. (by SimplifyNet)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • service-annotations

    Attributes for automatic registration in ServiceCollection

  • Canister

    Canister is a simple C# library aimed at enhancing the built-in IoC container in .NET. It enables you to effortlessly add all objects of a specified type and introduces the concept of modules to automatically wire up your system. With Canister, managing dependencies becomes a breeze, allowing you to focus on writing maintainable code.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C# ioc-container related posts

  • Modular Dependency Injection in .NET

    2 projects | dev.to | 25 Mar 2024
  • Another small hack I use for prototyping

    1 project | /r/Unity3D | 10 Dec 2023
  • Optimizing .NET solution architecture for faster compilation through project decoupling

    1 project | dev.to | 5 Dec 2023
  • I updated reflex readme, what do you think it about it? Constructive feedback is very welcome ;)

    1 project | /r/Unity3D | 24 Apr 2023
  • How to do dependency injection based on HttpContext values?

    1 project | /r/csharp | 21 Apr 2023
  • "7D Mad Rogue Kart" post-mortem

    1 project | /r/roguelikedev | 12 Mar 2023
  • Autofac Resovle with type stored in variable

    1 project | /r/xamarindevelopers | 1 Dec 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 9 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source ioc-container projects in C#? This list will help you:

Project Stars
1 Autofac 4,386
2 Simple Injector 1,184
3 StructureMap 911
4 Reflex 590
5 Meet Grace 334
6 di-framework 38
7 Simplify.DI 18
8 service-annotations 8
9 Canister 7

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com