PinnedImplementing Role-Based Access Control (RBAC) with Claims Transformation in .NET CoreIntroductionDec 28, 2024Dec 28, 2024
PinnedWhen should we prefer OwnsMany over HasMany in EF core?In Entity Framework Core (EF Core), OwnsMany and HasMany are two different methods used to define relationships between entities. They are…Sep 16, 20231Sep 16, 20231
PinnedMethod Code Smells and RefactoringsThis is the second article from the First oneMay 14, 20224May 14, 20224
PinnedUsing yield keyword to write better code in c#In this story, I use a simple example to demonstrate our goal, I have a list of students and want to get the teenage Students.Feb 27, 2022Feb 27, 2022
Minimizing Risk in Code Refactoring with Feature Flags in Vertical SliceRefactoring critical business logic while maintaining system stability is a common challenge. This article explores how to minimize risks…Nov 7, 2024Nov 7, 2024
“Best Practices for Designing DTOs (Data Transfer Objects) in C#”?A lot of people ask what is the better way to generate DTO (data transfer object ), it depends on your source or coming entity that wants…Jul 12, 20241Jul 12, 20241
Improving Factory Pattern using keyed services in .Net 8This article is an updated version of the last story Improving Factory Pattern using DI in .Net, you read first in, we started with a…Apr 24, 20241Apr 24, 20241
Domain Driven Design: Handling Domain events and Integration events in Deep system.This story will begin with the basic scenario of publishing and handling events in dotnet application using mediator, command…Apr 20, 20242Apr 20, 20242
Make your API more ResilientResiliency is the ability to recover from failures and continue to function. It isn’t about avoiding failures but accepting the fact that…Dec 30, 2023Dec 30, 2023