PinnedYahia Saafan·Aug 20, 2024Mastering DbContext in Entity Framework Core: Configuration, Lifetime, and Best PracticesIn this article, we will explore the details of DbContext, covering both internal and external configurations, thread safety…A response icon2A response icon2
Yahia Saafan·Apr 23, 2025From Concept to Code: Building Background Jobs in ASP.NET Core with HangfireImagine your app just confirmed a user’s payment. Now, it needs to send an invoice, notify the support team, update analytics, and log…
Yahia Saafan·Oct 13, 2024Mastering EF Core Configuration: Part 7 — Value ConversionIn modern data-driven applications, flexibility in data storage is key. Often, the way data is represented…A response icon2A response icon2
Yahia Saafan·Sep 29, 2024Mastering EF Core Configuration: Part 6 — Owned Value TypesAn Owned Entity in Entity Framework Core is a special kind of entity that exists solely as part of another entity.
Yahia Saafan·Sep 17, 2024Mastering EF Core Configuration: Part 5 — Mapping ViewsIn most applications, views are an essential database feature that allow you to encapsulate complex queries and join multiple tables…
Yahia Saafan·Sep 10, 2024SQL Injection and How to AddressSQL Injection is a serious security problem that happens when attackers can insert harmful code into an application’s database queries…
Yahia Saafan·Sep 9, 2024Mastering EF Core Configuration: Part 4 — Exclusion and Inclusion of EntitiesYou can exclude entire entities or specific properties from being mapped to your database schema…
Yahia Saafan·Sep 2, 2024Mastering EF Core Configuration: Part 3 — Exploring Fluent APIThe Fluent API provides a more powerful and flexible approach to configuring your models, allowing you to fine-tune every aspect of your…
Yahia Saafan·Sep 2, 2024Organizing EF Core Configurations: From Direct Setup to Scalable SolutionsWhen building applications with Entity Framework Core (EF Core), how you structure your model configurations can greatly influence…
Yahia Saafan·Aug 26, 2024Mastering EF Core Configuration: Part 2 — Exploring Data AnnotationsData Annotations provide a simple powerful way to customize your EF Core models directly within your entity classes…