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 →
Top 9 C# ioc-container Projects
-
Simple Injector
An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.
-
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.
-
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
-
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.
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?
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?
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.
C# ioc-container related posts
-
Modular Dependency Injection in .NET
-
Another small hack I use for prototyping
-
Optimizing .NET solution architecture for faster compilation through project decoupling
-
I updated reflex readme, what do you think it about it? Constructive feedback is very welcome ;)
-
How to do dependency injection based on HttpContext values?
-
"7D Mad Rogue Kart" post-mortem
-
Autofac Resovle with type stored in variable
-
A note from our sponsor - InfluxDB
www.influxdata.com | 9 May 2024
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