jab
C# Source Generator based dependency injection container implementation. (by pakrym)
Injectio
Source generator that helps register attribute marked services in the dependency injection ServiceCollection (by loresoft)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
jab
Posts with mentions or reviews of jab.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-04.
- Injectio - Source Generator for Dependency Injection
-
Why is no-one using Roslyn token-based code generation with Source Generators?
Having the same issues trying to get into source generators. I don't see too many opportunities to include it in my day-to-day development, or at least with the examples I've seen thus far. The exception being the dependency-injection based ones like https://github.com/pakrym/jab
-
Is the era of reflection-heavy C# libraries at an end?
There's also this https://github.com/pakrym/jab. Though imo, it has some downsides as well. One being less developer friendly when composing things compared to the current registration style and there's also convention based registration that so far isn't as easy to make.
Indeed! They're still early, but source generators can enable this sort of functionality, eg: https://github.com/pakrym/jab
Injectio
Posts with mentions or reviews of Injectio.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-04.
What are some alternatives?
When comparing jab and Injectio you can also consider the following projects:
stronginject - compile time dependency injection for .NET
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
dotnet - .NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and part of the .NET Foundation.
UrlActionGenerator
csharp-source-generators - A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
SqlMarshal - Generates data access using stored procedures