Pure.DI
DryIoc
Pure.DI | DryIoc | |
---|---|---|
1 | 1 | |
383 | 964 | |
3.7% | - | |
9.7 | 9.5 | |
3 days ago | about 1 month ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Pure.DI
-
stronginject VS Pure.DI - a user suggested alternative
2 projects | 12 Oct 2021
Pure.DI generates static method code for creating an object graph in the paradigm of pure DI using a set of hints. The generated code does not rely on library calls or .NET reflection, so it is efficient.
DryIoc
-
Announcing .NET 8 Preview 1
I'd like to keep the convention-based assembly scanning capabilities if ever that was possible. It's too convenient and less error prone than manually registering everything through attributes like current source generator strategies go. DryIocZero supports this somewhat using t4 templates, it gives you a method where you can register your stuff and do assembly scanning and it'll generate your container from there. It works and is quite small and fast but the UX does need some work since t4 is rather clunky to write on.
What are some alternatives?
GodotOnReady - A C# Source Generator that adds convenient onready-like features to your C# scripts in Godot Mono (3.x) without any reflection.
Unity - This repository contains all relevant information about Unity Container suit
stronginject - compile time dependency injection for .NET
Autofac - An addictive .NET IoC container
Stashbox - A lightweight, fast, and portable dependency injection framework for .NET-based solutions.
Microsoft.Extensions.DependencyInjection
di-framework - ↗ A Dependency Injection framework for Unity game engine.
Simple Injector - An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.
CoreCraft - A domain model builder and generator
Ninject - the ninja of .net dependency injectors
LightInject - An ultra lightweight IoC container
TinyIoC - An easy to use, hassle free, Inversion of Control Container for small projects, libraries and beginners alike.