Working with HttpClient is kind of low-level stuff. Refit eases that problem for us. It creates an abstraction over HttpClient and allows us to work with an interface representing REST endpoints
Fiyaz Hasan
A collection of 23 posts
GraphQL with .NET Core (Part - XI: Data Loader)
We have N + 1 problem in our solution. To overcome this problem, we introduce DataLoader. DataLoader adds support for batching and caching in your GraphQL queries.
GraphQL with .NET Core (Part - X: Execution Strategies)
By default, graphql-dotnet executes queries in parallel. Most of the time that's a desired behaviour. But there is a catch when a parent graph type has dependencies on a child graph type which also uses asynchronous task to resolve field values.
GraphQL with .NET Core (Part - IX: Many-Many Entity Relations)
By EF conventions, in a many-to-many relation, you have two standalone entities and a third entity between them which represents a relationship bridge.
A Brand New Dependency Graph from NDepend
Dependency Graph is just a graph made out of all the dependent modules, components, contracts, assemblies, namespaces, third-party libraries and etc. It was available in NDepend from the get go but the new one is way more friendly and feature-heavy.
My Notebook: Redux & NGRX
Application state is subjected to change. A reducer is a pure function that takes the current state and an action been dispatched upon it. Depending on the action type it produces a new state and returns it. States are immutable.
5 Essential Tools for Any Tech Startup with Little to No Seed Money
After years of working for other startups, finally, you gathered the courage to start one of your own. You have this million-dollar idea and you are hyped to share it with the world. These are the five tools you need to manage your tech startup if you have little to no seed money.
GraphQL with .NET Core (Part - VIII: 1-Many Entity Relations)
You can configure entity relationship following entity framework conventions. Entity framework will auto-create a one-to-many relationship between entities if one of the entity contains a collection property of the second entity. This property is known as a navigation property.
Subscribe to Fiyaz Hasan
Subscribe today and get access to a private newsletter and new content every week!