Inheritance in Programming: Best Practices and Valid Use Cases

Inheritance is a powerful concept in programming that allows classes to inherit properties and behavior from parent classes. When used correctly, it can improve code readability, reduce redundancy, and simplify software development. However, when used incorrectly, inheritance can lead to code that is difficult to understand, maintain, and modify. Unfortunately, inheritance is often misused in … 

 

Integration Test In Asp.Net Core 6 Using SqlServer Image and TestContainers

This post is about writing integration tests and TestContainers. As you might know writing integration tests against the in-memory provider is a bad practice. Because it only works well with trivial solutions. Mostly because the in-memory API of IQueryProvider doesn’t match the LINQ query provider. Here’s a good article called “Avoid In-Memory Databases for Tests” …