data access
Entity Framework Core Articles, Tutorials & News
Entity Framework Core articles, tutorials, and news from the DotNetNews archive.
593 articles Updated Page 2 of 24
Browse additional Entity Framework Core articles from the DotNetNews archive.
Entity Framework Core articles
Page 2 of 24
Newest first
-
How to Use ETags in ASP.NET Core to Prevent Users from Overwriting Each Other’s Changes
C# Corner Issue #568
Learn how to use HTTP ETags, If-Match headers, and EF Core rowversion tokens in ASP.NET Core APIs to detect concurrent edits and prevent lost updates.
-
Preventing Duplicate Operations in ASP.NET Core APIs
C# Corner - Riya Patel Issue #567
Learn how to prevent duplicate ASP.NET Core API operations with idempotency keys, durable EF Core storage, request hashes, and database uniqueness constraints.
-
How to Return Large JSON Responses in ASP.NET Core Without Loading Everything into Memory
C# Corner Issue #567
Learn how to stream large JSON responses in ASP.NET Core with IAsyncEnumerable, Entity Framework Core, cancellation, and memory-conscious API design.
-
Keeping API Pagination Consistent While Records Change
C# Corner - Vivek Kumar Issue #567
Learn how record changes cause offset pagination duplicates and gaps, and implement stable cursor-based pagination in ASP.NET Core with Entity Framework Core.
-
How to Use the Transactional Outbox Pattern in .NET to Avoid Lost Messages
C# Corner Issue #567
Learn how to implement the transactional outbox pattern in .NET with Entity Framework Core to reliably save business data and publish events without lost messages.
-
EF Core Optimization Guide: A Step-By-Step Guide to Faster Queries
Medium - Anton Martyniuk Issue #567
“EF Core is slow, don’t use it.” Continue reading on CodeX »
-
EF Core Cartesian Explosion: How a Single .Include() Almost Crashed Production
Medium - Nikola Perisic Issue #567
How one EF Core .Include() multiplied our SQL rows into timeouts, and the split queries and guardrails that stop it for good.
-
EF Core Bulk Updates: When to Use ExecuteUpdate Instead of Loading Entities
C# Corner Issue #566
Learn when to use EF Core ExecuteUpdateAsync for set-based bulk updates instead of loading tracked entities, including effects on change tracking and database operations.
-
Use ETags in ASP.NET Core to Prevent Lost Updates
C# Corner - Bhavya Singh Issue #565
Learn how to use ETags, If-Match headers, and EF Core rowversion tokens in ASP.NET Core to detect stale updates and prevent lost data changes.
-
Setting Up Prometheus Alerting Rules for EF Core Performance and Traffic
C# Corner - Sardar Mudassar Ali Khan Issue #562
Configure Prometheus alerting rules for EF Core query traffic, active DbContext counts, and HTTP latency, then register and verify the rules in Prometheus.
-
Resolving HostAbortedException and Table-Sharing Warnings During EF Core Migrations
C# Corner - Sardar Mudassar Ali Khan Issue #561
-
Optimizing EF Core Performance: No-Tracking, Split Queries, and Compiled Queries
C# Corner - Sardar Mudassar Ali Khan Issue #561
Learn how to improve EF Core query performance with no-tracking queries, split queries, and compiled queries for read-heavy and high-throughput workloads.
-
Boosting ASP.NET Core Performance: A Guide to Read-Only EF Core Queries
Medium - Rakibul H. Rabbi Issue #558
When building ASP.NET Core applications, it’s common to have multiple database contexts. You might have one for your main application…
-
C# 14 Quietly Broke Our EF Core Queries, and array.Contains() Was the Culprit
Medium - Owais Issue #555
Nobody touched the code. We changed , and a query that had worked for years started throwing an exception that named…
-
The Real Cost of Returning the Identity Value in EF Core
Medium - Anton Martyniuk Issue #555
When you insert thousands of rows into SQL Server with Entity Framework Core, performance drops quickly. Continue reading on CodeX »
-
Entity Framework Core in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #555
EF Core comes up in almost every .NET interview that touches a database, and one question dominates: the N+1 problem. This covers the…
-
How EF Core Change Tracking Works
Medium - Martin Bernaola Mendez Issue #553
SaveChanges() isn't magic. EF Core keeps a snapshot of every tracked entity, compares it with the current values, and turns each entity's…
-
What I Learned About EF Core by Building an Enterprise Inventory System
Medium - Bhaskar Soman Issue #553
When I started learning Entity Framework Core, I initially thought the main problem was understanding how to map C# classes to database…
-
Making POST Requests Idempotent in .NET 8: Preventing Duplicate Requests in Distributed Systems
Medium - Adeboye Salisu Issue #552
A practical look at how I used idempotency keys, EF Core and PostgreSQL unique constraints in Taskora to make retries safe under…
-
EF Core 10 Is Insane: The Features That Will Change How You Write Data Access Code
Medium - Santanu Chandra Issue #551
A practical tour of what’s new in Entity Framework Core 10, with real examples you can paste into your project.
-
EF Core vs Dapper vs ADO.NET: Stop Picking Sides, Start Picking the Right Tool
Medium - Santanu Chandra Issue #550
Three ways to talk to SQL Server from .NET, what each one really costs you, and how to choose without starting a religious war in your…
-
EF Core N+1 Query Problem: How to Detect, Measure, and Fix Excessive Database Queries
Medium Issue #549
Your EF Core application can return the correct data, pass every functional test, and still have a serious database performance problem.
-
Entity Framework Core Performance: 10 Mistakes I Keep Seeing in Production Code
Medium Issue #547
Entity Framework Core makes database access feel deceptively simple. You write a LINQ query, call ToListAsync(), get your objects back and… Continue reading on CodeToDeploy »
-
EF Core 10 Is INSANE — Overview of Game Changer features
Medium Issue #545
EF Core 10 ships first-class LeftJoin and RightJoin operators, named query filters you can disable individually, complex types mapped to…
-
Let Postgres Enforce Tenant Isolation
Milan's .NET Weekly Issue #542
EF Core query filters can be bypassed. PostgreSQL row-level security enforces tenant isolation on reads and writes, if you connect with the right database role…