jab
C# Source Generator based dependency injection container implementation. (by pakrym)
SqlMarshal
Generates data access using stored procedures (by kant2002)
jab | SqlMarshal | |
---|---|---|
4 | 3 | |
1,007 | 44 | |
- | - | |
8.0 | 3.2 | |
4 months ago | 10 months ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
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
SqlMarshal
Posts with mentions or reviews of SqlMarshal.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-29.
-
For new projects, do you prefer EF, ADO, Dapper or something else?
After writing SQL, I prefer to interface with dotnet code via auto-generated types. This gives type safety compared to Dapper and manually generated ADO. I just posted an issue giving some libraries which do this here: https://github.com/kant2002/SqlMarshal/issues/4
-
Is the era of reflection-heavy C# libraries at an end?
You can take a look at my library where I attempt to make simple DAO using Source code generators https://github.com/kant2002/SqlMarshal
- Show HN: Source generator for SQL commands in C#
What are some alternatives?
When comparing jab and SqlMarshal 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.
RdXmlLibrary - Library of RD.xml files for NativeAOT
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.
NReco.Data - Fast DB-independent DAL for .NET Core: abstract queries, SQL commands builder, schema-less data access, POCO mapping (micro-ORM).
UrlActionGenerator
csharp-source-generators - A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.