In the previous post, we saw how to cancel a request using axios in VueJS. So, does cancelling a request really issues a cancellation token… Read More »Cancelling a request issues a cancellation on backend?
Definition Observer design pattern defines a one-to-many dependency between the objects. When the object state changes, the observers are notified/updated about the change. Observer Pattern… Read More »Observer Design Pattern with an example in CSharp
.ToDictionary() extension will throw an argument exception if we have duplicate keys added to the dictionary.
In this post, we’ll see how to generate sequence numbers along with the data that we need in LINQ C#.Read More »Generating Sequence Numbers In LINQ Query
To update many records in entity framework, it is good to use the
.Attach method of the db context instead of looping through every record and fetching the data through EF and updating it.
A strategy design pattern is the most commonly used design pattern in computer programming.
In this post, we’ll start with a basic switch case statement and then we’ll modify the code into strategy design pattern.Read More »The strategy design pattern with an example
This post is a sequence for the previous article which shows why the Func delegate is not translated into the SQL statements.
In this post, I’ll show you what happens when you use a func delegate on the Entity Framework entities.Read More »Don’t use Func delegate on the Entity Framework entities
Filtering an item from a list of items is easy but if the item to filter is not known at compile time then filtering a list will be little complicated.