stronginject
dunet
stronginject | dunet | |
---|---|---|
7 | 3 | |
836 | 474 | |
- | - | |
0.0 | 8.5 | |
almost 2 years ago | 7 days 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.
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
dunet
-
Rolled my own Result<T,E> type that seems to work better than others.
BUT It is possible to implement it in a pretty good way. The main issue with the majority of existing libraries is that they're not able to guarantee that Error variant matching is exhaustive. Thus I'd recommend the usage of code generators libraries (https://github.com/domn1995/dunet looks like a good choice to start with) to build Result and Error(s) unions in a proper way
-
How do you live without tagged union types?
Or use something like dunet https://github.com/domn1995/dunet
- Dunet: C# discriminated union source generator
What are some alternatives?
jab - C# Source Generator based dependency injection container implementation.
OneOf - Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching
Pure.DI - Pure DI for .NET without frameworks!
csharp-combinators - Experiments to understand and find practical use cases for combinators.
csharp-source-generators - A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
csharplang - The official repo for the design of the C# programming language
Jot - Jot is a library for persisting and applying .NET application state.
ZeroQL - C# GraphQL client with Linq-like syntax
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.
plato - A simple and efficient cross-platform programming language.
ArchiSteamFarm - C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
mapperly - A .NET source generator for generating object mappings. No runtime reflection.