jab
stronginject
jab | stronginject | |
---|---|---|
4 | 7 | |
1,007 | 836 | |
- | - | |
8.0 | 0.0 | |
4 months ago | almost 2 years 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.
jab
- 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
stronginject
- Reflection -> Source Generated
- What is the most cursed data structure you can think of?
- Injectio - Source Generator for Dependency Injection
-
You probably don't need MediatR
I think StrongInject does exactly that. I have never used it yet though.
-
stronginject VS Pure.DI - a user suggested alternative
2 projects | 12 Oct 2021
-
Is the era of reflection-heavy C# libraries at an end?
Actually DI is perfectly possible without reflection, see https://github.com/YairHalberstadt/stronginject
What are some alternatives?
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
Pure.DI - Pure DI for .NET without frameworks!
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.
csharp-source-generators - A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
UrlActionGenerator
Jot - Jot is a library for persisting and applying .NET application state.
ReactiveUI - An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms that is inspired by functional reactive programming. ReactiveUI allows you to abstract mutable state away from your user interfaces, express the idea around a feature in one readable place and improve the testability of your application.
SqlMarshal - Generates data access using stored procedures
ArchiSteamFarm - C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
ZeroQL - C# GraphQL client with Linq-like syntax
ResXFileCodeGenerator - VocaDb.ResXFileCodeGenerator is a C# source generator to generate strongly-typed resource classes for looking up localized strings.