Extension Methods And Their Benefits In Csharp
C# 3.0 introduces extension methods. These are one of the most powerful features that helped C# as a language take a significant leap in the… Read More »Extension Methods And Their Benefits In Csharp
C# 3.0 introduces extension methods. These are one of the most powerful features that helped C# as a language take a significant leap in the… Read More »Extension Methods And Their Benefits In Csharp
What are Guard Clauses? A guard in general is to protect against the damage that may happen in the future. In computer programming, a guard… Read More »What are Guard Clauses in .NET
The reason for generating fake data can be anything. But, the most common use case I think for generating fake data is when someone is… Read More »How to generate Fake data in C#?
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
The .ToDictionary()
extension will throw an argument exception if we have duplicate keys added to the dictionary.
Hello there. I’m a passionate Full Stack developer and I work primarily on .NET Core, microservices, distributed systems, VUE, JavaScript
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 QueryHello there. I’m a passionate Full Stack developer and I work primarily on .NET Core, microservices, distributed systems, VUE, JavaScript
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.
Hello there. I’m a passionate Full Stack developer and I work primarily on .NET Core, microservices, distributed systems, VUE, JavaScript
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 exampleHello there. I’m a passionate Full Stack developer and I work primarily on .NET Core, microservices, distributed systems, VUE, JavaScript
This post is a sequence for the previous article which shows why the Func delegate is not translated into the SQL statements.
Read More »why func delegate is not translated to sql
Hello there. I’m a passionate Full Stack developer and I work primarily on .NET Core, microservices, distributed systems, VUE, JavaScript