Dahomey.Json
The main purpose of this library is to bring missing features to the official .Net namespace System.Text.Json (by dahomey-technologies)
aspnetskeleton2
A foundation for building robust web applications on ASP.NET Core. (by adams85)
Dahomey.Json | aspnetskeleton2 | |
---|---|---|
1 | 6 | |
155 | 4 | |
0.6% | - | |
0.0 | 0.0 | |
over 1 year ago | 10 months ago | |
C# | C# | |
MIT License | MIT License |
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.
Dahomey.Json
Posts with mentions or reviews of Dahomey.Json.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-06.
-
System.Text.Json Rant
I'd add that there are some libs that enables features of Newtonsoft.Json for STJ. E.g. this one is pretty exhaustive.
aspnetskeleton2
Posts with mentions or reviews of aspnetskeleton2.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-26.
-
Modern ASP Web Application with Typescript and SASS
There's another sample project which demonstrates how to set up the latter strategy. (In this case the TS compiler configuration is included in the csproj but, of course, you can use tsconfig.json as well. For that, here's another example.)
-
Small to medium RESTful APIs with EF Core, what is a good architecture default?
It's not at all. For more complex applications (which benefits from a service layer) I use exactly this architecture you described. I've built a few applications with it and it worked fine for me. If you want to take a closer look, I also have a template for this. (Haven't had the time for documentation yet but it can still give you some ideas.)
-
Table Sorting and Paging in Razor Pages
Table rendering logic (implemented as global razor helpers)
-
What are the best options for front-end minification and bundling that don't depend on node/npm?
As for TypeScript, you're kinda out of luck because the TS compiler is written in TS, so it inevitably needs a JS runtime (like node) to run. However, IMO it's strongly advisable to use TS for any client-side logic bigger than 100-200 lines of code. So regarding this I usually just accept the compromise. At least, the following setup works for me perfectly: I configure the TS compiler to emit ES6 modules and I bundle the emitted JS modules using the lib. You can find a working example of this in my web project template: tsconfig.json, bundler configuration.
-
Code Generation .net core / 5.0 / future (with templating?)
I use this code generation strategy combined with .NET Core Local Tools to generate boilerplate code (2-3 source files at specific locations) for CQS commands and queries and I'm quite satisfied with this method so far. You can check out the sources of my codegen tool here if you want to explore it. Might give you some ideas.
-
System.Text.Json Rant
But TBH the only feature I really missed when I work with STJ is polymorphism support. You don't even need a 3rd party lib for that: it requires some gymnastics but it can be implemented relatively easily by creating a custom JsonConverterFactory + JsonConverter. This implementation of mine can give you some ideas. (Also does type whitelisting based on Protobuf configuration.)
What are some alternatives?
When comparing Dahomey.Json and aspnetskeleton2 you can also consider the following projects:
Json.NET - Json.NET is a popular high-performance JSON framework for .NET
clean-minimal-api - A project showcasing how you can build a clean Minimal API using FastEndpoints
H.Pipes - A simple, easy to use, strongly-typed, async wrapper around .NET named pipes.
bundling - A library for optimizing and bundling web assets of ASP.NET Core applications.
JsonSubTypes - Discriminated Json Subtypes Converter implementation for .NET
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.