DbContext, Dbset Mocking - C# made easy
No need to use repository pattern for just to test database queries.

Search for a command to run...
Articles tagged with #csharp
No need to use repository pattern for just to test database queries.

There are four common types of sharding strategies. Horizontal or range based. Vertical. Key-based (Algorithmic). Directory-based (Dynamic). In this blog, we will only discuss directory-based sharding a.k.a dynamic sharding. Directory based shard p...

What is mocking? Mocking is a testing technique where mock objects are used instead of real objects for testing purposes. In general, in dotnet Moq or nSubstitute is a very popular mocking framework. In this article, we will use moq. What is our go...

Introduction: Exceptions are a main and crucial part of the software development industry. There is a saying in the industry - Bugs will be there, there is nothing you can do to stop it but not able to answer where, how, and why the bug happens, i...

Concurrency, parallel processing in C#

Understanding asynchronous programming in C#
