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
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.
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.
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.
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.
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.
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.
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!