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 23 C# IoC Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Castle Windsor
Castle Windsor is a best of breed, mature Inversion of Control container available for .NET
-
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.
-
TinyIoC
An easy to use, hassle free, Inversion of Control Container for small projects, libraries and beginners alike.
-
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
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 related posts
- Modular Dependency Injection in .NET
- Optimizing .NET solution architecture for faster compilation through project decoupling
- Reflection -> Source Generated
- Why asp.net core is not popular like Spring boot or nodejs, although it's better than both in all aspects?
- How to do dependency injection based on HttpContext values?
- C# Design Patterns: Implementing the decorator pattern
- "7D Mad Rogue Kart" post-mortem
-
A note from our sponsor - InfluxDB
www.influxdata.com | 19 Apr 2024
Index
What are some of the best open-source IoC projects in C#? This list will help you:
Project | Stars | |
---|---|---|
1 | Autofac | 4,376 |
2 | Scrutor | 3,406 |
3 | Ninject | 2,655 |
4 | Castle Windsor | 1,502 |
5 | Simple Injector | 1,183 |
6 | splat | 964 |
7 | DryIoc | 960 |
8 | StructureMap | 911 |
9 | stronginject | 836 |
10 | TinyIoC | 828 |
11 | LightInject | 612 |
12 | Jot | 597 |
13 | Reflex | 582 |
14 | Lamar | 551 |
15 | DotNetCore | 434 |
16 | VS MEF | 402 |
17 | Pure.DI | 372 |
18 | Meet Grace | 334 |
19 | Stashbox | 134 |
20 | ZeroIoC | 39 |
21 | di-framework | 38 |
22 | Simplify.DI | 18 |
23 | PinInject | 7 |