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, 2023A response icon1Sep 16, 2023A response icon1
PinnedMethod Code Smells and RefactoringsThis is the second article from the First oneMay 14, 2022A response icon4May 14, 2022A response icon4
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
PinnedRepository Pattern with AutoMapper in .Net CoreFirst Base EntitySep 15, 2021A response icon5Sep 15, 2021A response icon5
Keep Your Code Clean: Auto-Format C# with Husky + CSharpier Before Every Commit:⚙️ Husky + .NET Setup (with CSharpier)Sep 22Sep 22
Zero-Downtime Schema Migrations on Large Production TablesWhen working with large production databases, schema migrations can be extremely risky. For example, imagine you have an Employees table…Sep 11Sep 11
From Massive Models to Capability-Driven Design: A Guide to Better Software ArchitectureIntroductionAug 23Aug 23
Delete Behaviors in EF Core and How They Fit into Domain-Driven Design (DDD)🧱 Delete Behaviors in EF Core and How They Fit into Domain-Driven Design (DDD)May 19May 19
Persisting a Smart Enum with Entity Framework CoreAfter along time I discuss about smart enum and write about in this article SmartEnum, now a lot of people ask about how to persistent this…May 10A response icon1May 10A response icon1