JsonApiDotNetCore
Hot Chocolate
JsonApiDotNetCore | Hot Chocolate | |
---|---|---|
7 | 17 | |
653 | 4,893 | |
1.2% | 0.8% | |
9.2 | 9.6 | |
3 days ago | 4 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.
JsonApiDotNetCore
-
Ask HN: Nested Resources in REST/HTTP API URLs?
Well, that might be true when implementing from the scratch, but using a standard often also means, that someone has implemented a well known library to get rid of the boilerplate and basic decisions.
I personally often use jsonapi.net[1], a C# implementation of JSONAPI. This supports OpenAPI/Swagger with swashbuckle, has a very good filtering implementation and together with Orbit.js[2] it is pretty much without having to decide many things...
[1]: https://www.jsonapi.net/
- Ask HN: What's is your go to toolset for simple front end development?
- Recommendation reading (books/blogs) for best practices while designing REST APIs
-
Composing and nesting with JsonApiDotNetCore
It's so powerful that it even allows you to establish relationships between operations within a single request, using something called local IDs. Work is progressing quickly on the atomic-operations branch. Check it out on Github if you want to follow along.
-
Relationships
In our previous post we setup a basic JSON:API compliant API with the 4.0 release of the JsonApiDotNetCore framework. You can find the code we wrote under the part-1 branch on Github.
Hot Chocolate
-
I love LINQ and the Entity Framework
have a look here https://youtu.be/qrh97hToWpM https://chillicream.com/
-
How to efficiently call an arbitrary method?
There are some libraries which allows you to declare some class with more or less arbitrary methods which will be called by it at runtime. I believe many of them do that in optimal way, not just using usual reflection. One of the examples is HotChocolate library https://github.com/ChilliCream/hotchocolate . You declare class with arbitrary methods which contain arbitrary arguments. "Arbitrary" doesn mean arbitrary at all, but if parameter type is registered in DI or marked by specific attribute, it can be passed to the method.
-
ChilliCream GraphQL vs GraphQL.Net in
At work we are considering using GraphQL to build our read-only data-APIs using .NET 6, EF Core and SQL Server. Looking at the ecosystem the most relevant plattforms seems to be graphql-dotnet and ChilliCream.
-
Graphql-dotnet vs Hot Chocolate, which one to choose?
I'm starting a brand new project. Looks like if we want to do GraphQL in .NET, it's either graphql-dotnet or Hot Chocolate. Both look pretty good on paper.
- GraphQL is quickly moving to one of my least favorite technologies
-
JavaScript: *gets annihilated*
If you know it better: Please try statically typed generated graphql queries in C# (like write the graphql queries, have a graphql schema, then get generated C# types which resemble the query, the only thing I've found that could do it was https://chillicream.com/docs/strawberryshake and there I quickly hit this bug with super simple queries containing unions: https://github.com/ChilliCream/hotchocolate/issues/4662
-
Adopting 200 OK! Error Handling strategy in GraphQL with Hot Chocolate (dotnet).
If you don't know Hot Chocolate framework, feel free to read about it on chillicream.com (official website) and feel free to join the great community (which is always willing to help) on slack
-
Which programming language, besides JS, has the best support/ecosystem for graphql?
I love using Hot Chocolate in C# ❤
-
GraphQL mutation union erros (6a) with Hotchocolate GraphQL Server
Hotchocolate GraphQL server. This is the most advanced server for a .Net environment. This article does not go into the basics and assumes some framework knowledge.
-
Introducing pf2e.io, a generic, source-available, re-usable and most notably free set of services for creating pathfinder 2e tools, sites and applications.
I think for the time being that's the case, yeah. I'm confirming with the great people over at https://github.com/ChilliCream/hotchocolate to see if we can somehow work around that.
What are some alternatives?
ServiceStack - Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
GraphQL for .NET - GraphQL for .NET
FFImageLoading - Fast & Furious Image Loading - Image loading, caching & transforming library for Xamarin and Windows
AutoMapper - A convention-based object-object mapper in .NET.
NancyFx - Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono. Note: This project is no longer maintained and has been archived.
FluentValidation - A popular .NET validation library for building strongly-typed validation rules.
IdentityServer - The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
Breeze - Breeze for C#, F#, and VB.NET client applications
openiddict-core - Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
eisk.webapi - Project based on latest .NET (v6.0) technologies for building scalable web api, along with clean architecture patterns.
Xamarin.Essentials - Essential cross platform APIs for your mobile apps.