data access
Entity Framework Core Articles, Tutorials & News
Entity Framework Core articles, tutorials, and news from the DotNetNews archive.
556 articles Updated Page 7 of 23
Browse additional Entity Framework Core articles from the DotNetNews archive.
Entity Framework Core articles
Page 7 of 23
Newest first
-
What’s new in Entity Framework??
Medium Issue #434
A practitioner’s deep dive into the architectural differences, performance gaps, and .NET 10-specific features that make EF Core the only…
-
Optimizing EF-Core Performance in Production: Lessons from the Real World
Medium Issue #434
Entity Framework Core (EF Core) is powerful, productive, and widely used — but in production systems, it can easily become a performance…
-
Mastering the EF Core Change Tracker: Phantom Updates, Detached Entities, and Soft Deletes
Medium Issue #434
If you have worked with Entity Framework Core for some time, you already know the usual flow: load data, change a few properties, and call…
-
If You Call .ToList() Before .Where(), You Have a Performance Issue
Medium Issue #433
You’re loading thousands of rows from the database. You’re filtering in memory. Your API response takes 3 seconds. You blame Entity…
-
EF Core transactions: Stop your data getting out of sync
Round The Code Issue #433
Learn how Entity Framework Core transactions prevent data inconsistencies and how isolation levels affect behaviour in your applications. The page EF Core transactions: Stop your data getting out of s...
-
Mapping database views in EF Core without breaking migrations
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #433
Entity Framework Core (EF Core) is working fine in your project. But the moment you use views, the migration gets messy. As a developer, I know any problem in the migration is haunting. You have to up...
-
Your EF Core Queries Are Lying to You: The N+1 Problem You’re Probably Shipping Right Now
Medium Issue #431
You wrote clean code. Your unit tests pass. The feature works in development. Then it hits production with 10,000 users, and suddenly the…
-
Introduction to Entity Framework Core — Complete Beginner Guide with Real-World Examples (.NET)
Medium Issue #429
🚀 Introduction
-
Tracking vs. No-Tracking Queries in EF Core 10 - When to Use Each
codewithmukesh Issue #428
Tracking vs. no-tracking queries in EF Core 10 - benchmarks, memory analysis, AsNoTrackingWithIdentityResolution, and when to use each in ASP.NET Core Web APIs.
-
Why your Entity Framework Core app needs query filters
Round The Code Issue #427
Discover how EF Core query filters enforce global rules, simplify multitenancy, and clean up queries to stop sensitive data leaking into production. The page Why your Entity Framework Core app needs q...
-
-
Stop Using Entity Framework Core Wrong (I Did For 3 Years)
Medium Issue #424
The mistakes were in the code I was most proud of.
-
Seeding Initial Data in EF Core 10 - HasData vs UseSeeding
codewithmukesh Issue #422
Seed initial data in EF Core 10 with HasData, UseSeeding, and Program.cs. Includes decision matrix, FK seeding, environment strategies, and pitfalls.
-
When NOT to use the repository pattern in EF Core
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #420
If you design an application with a data source, the repository pattern often comes to mind as a prominent choice. In fact, many developers see it as the default choice. However, the pattern is not he...
-
Bulk Operations in EF Core 10 - Benchmarking Insert, Update, and Delete Strategies
codewithmukesh Issue #419
Learn how to optimize bulk insert, update, and delete operations in EF Core 10. We benchmark 5 approaches with real numbers and a decision matrix for every scenario.
-
Multiple DbContext in EF Core 10 - Scenarios, Setup & Migrations
codewithmukesh Issue #419
When and how to use multiple DbContext in EF Core 10. Multi-database setup, schema separation, migrations, transactions, and modular monolith patterns.
-
Clean and Scalable Entity Configuration in Entity Framework Core (With Real Project Example)
Medium Issue #418
When building modern applications with ASP.NET Core and Entity Framework Core, many developers start by configuring their entities…
-
Preventing Concurrency Conflicts in EF Core
Code With Trev | Blog Issue #416
Imagine a web application where multiple users interact with the same data simultaneously. This can lead to a concurrency conflict. Let us explore how you can effectively implement and manage these me...
-
Optimizing Bulk Database Updates in .NET: From Naive to Lightning-Fast
Milan's .NET Weekly Issue #415
Seven approaches to bulk-updating rows in PostgreSQL from .NET using Dapper and EF Core, from naive per-row updates to binary COPY. Each step cuts down on round-trips or removes dynamic SQL entirely.
-
Global Query Filters in EF Core - Soft Delete, Multi-Tenancy & Named Filters in .NET 10
codewithmukesh Issue #414
Master global query filters in EF Core 10 with named filters, soft delete, multi-tenancy, IgnoreQueryFilters, and performance tips.
-
Clean Architecture With Document Databases, Minimal APIs, and CQRS in .NET 10
Medium Issue #411
Part 1 — Laying a Rock-Solid Foundation Continue reading on Stackademic »
-
From Spaghetti to Clean Architecture: How to Decouple EF Core without Over-Engineering
Medium Issue #409
Let’s be honest. We all love the idea of greenfield projects. But in the real world, the most impactful engineering work happens in the…
-
How to Use Entity Framework Core Migrations in Production?
C# Corner Issue #408
Safely deploy EF Core migrations in production! Learn best practices for script-based deployments, zero-downtime strategies, CI/CD integration, and rollback plans. Ensure reliable database evolution.
-
What’s the Fastest Way to Save Large Amounts of Data in .NET?
Medium Issue #408
If you’ve ever needed to save a large amount of data to a database in .NET, you’ve probably wondered: What’s the fastest way to do it?
-
Polymorphic Relationships in EF Core: Three Approaches
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #407
Database schema and entity design are the pavement of most applications. If the entities are paved well, the application can provide great performance. Otherwise, it can lead to pitfalls. One key aspe...