data access
Entity Framework Core Articles, Tutorials & News
Entity Framework Core articles, tutorials, and news from the DotNetNews archive.
516 articles Updated
This DotNetNews topic collects Entity Framework Core tutorials material from the daily archive. Entity Framework Core is part of the data-access layer most .NET apps rely on, whether the store is relational or document-oriented. The page is for people who already ship C# and need a faster way to find relevant posts.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for Entity Framework Core; the archive list is chronological and larger. Nothing here claims every article was production-tested by the editors.
Recurring subtopics in recent issues include EF Core tutorials, EF Core migrations, EF Core performance, and LINQ EF Core. Secondary angles such as Entity Framework Core and EF Core tutorials appear when the archive actually covered them. Related hubs such as Dapper for C# and .NET and SQL Server for C# and .NET cover adjacent problems.
Start here
Editor picks for EF Core
-
The Migration That Lied for Two Years
rogerkeizer.medium.com Issue #504
Covers the Migration That Lied for Two Years.
-
Fastest Way to Bulk Insert Thousands of Rows in EF Core
codewithmukesh.com Issue #502
Covers fastest Way to Bulk Insert Thousands of Rows in EF Core.
-
Entity Framework Core Performance Tuning for Large Applications
c-sharpcorner.com Issue #501
Optimize EF Core for large apps: Boost performance with AsNoTracking, pagination, indexing, caching, and more.
-
EF Core Migration Bundles: What They Are & Why They Matter
medium.com Issue #501
Migration bundles are still underused; this is a useful operational topic.
-
The C# 14 field Keyword Looks Like Free Cleanup. It Can Still Break Your EF Core Mapping
c-sharpcorner.com Issue #501
C# 14 field keyword can break EF Core backing-field mapping and reflection code.
-
Track every EF Core record change with temporal tables
roundthecode.com Issue #499
Temporal tables remain one of the most useful underused SQL Server features, and this walks through the EF Core side clearly.
-
Stop Over-Fetching: Master EF Core Projections for Faster, Leaner APIs
bogdan-hatis.medium.com Issue #498
If your APIs are slow, projections are one of the highest-value EF Core habits to build early.
-
EF Core and Azure SQL Database: A Step-by-Step Guide
antondevtips.com Issue #498
Practical guide for getting EF Core working cleanly against Azure SQL, including resiliency and passwordless access.
Archive
Page 1 of 21
Newest first
-
Relational Where It Helps, JSONB Where It Must: Persisting IIIF Presentation 3 in PostgreSQL with…
ahmadminoo.medium.com Issue #519
A proof of concept using the real IIIF Manifest object model, EF Core owned entities, Razor Pages, PostgreSQL, and careful JSONB
-
Entity Framework N+1 in a Report Loop: The Pre-Fetch Fix Was Going to Crash Large Tenants
medium.com Issue #519
he query loop was firing once per row. The obvious fix loaded the entire tenant’s history into memory. Neither was acceptable.
-
How to Resolve SQL Server Error 40 ("Could Not Open a Connection to SQL Server")
c-sharpcorner.com Issue #519
Resolve SQL Server Error 40 in ASP.NET Core. Troubleshoot connection issues with Entity Framework Core, connection strings, and configuration.
-
Second-Level Caching in EF Core 10: The Complete Guide
codewithmukesh.com Issue #519
Add second-level caching to EF Core 10 with EFCoreSecondLevelCacheInterceptor, Redis, and HybridCache - with real benchmarks and the invalidation gotchas.
-
How I Reduced Build Time from Over 5 Minutes to Under 30 Seconds by Consolidating 400+ Entity…
medium.com Issue #518
As developers, we often focus on optimizing application performance for our users, but we sometimes overlook something just as important…
-
EF Core 11 Performance Tips Every Developer Should Know
c-sharpcorner.com Issue #518
Boost EF Core 11 performance with 11 essential tips: AsNoTracking, projection, N+1 avoidance, compiled queries, bulk ops & more.
-
Ef-timelapse: a time-travel viewer for your EF Core schema published
medium.com Issue #518
A few weeks ago I was staring at a table in a database, trying to figure out when a column showed up and why a particular foreign key…
-
Persisting a Rich Domain Model With EF Core
milanjovanovic.tech Issue #518
Every time I show a rich domain model, someone tells me it can't work with EF Core: "EF needs public setters and a public constructor, so the anemic model is…
-
ASP.NET Web API CRUD with EF Core & PostgreSQL (Code First)
c-sharpcorner.com Issue #517
Build an ASP.NET Core Web API with EF Core and PostgreSQL using Code First. Master CRUD operations for robust data management.
-
Optimizing Entity Framework Core Performance with Compiled Queries and AsNoTracking
c-sharpcorner.com Issue #515
Boost EF Core read performance! Learn to use AsNoTracking and Compiled Queries to slash overhead, reduce GC pressure, and speed up repetitive database calls.
-
PostgreSQL 18 Performance Tuning for EF Core Applications
c-sharpcorner.com Issue #514
Optimize PostgreSQL 18 for EF Core apps. Learn to tune queries, use indexes, manage data loading, and implement a repeatable performance tuning process.
-
EF Core 10 Performance Tuning: Tracking, Query Filters, Compiled Queries, and Bulk Operations
c-sharpcorner.com Issue #513
Boost EF Core 10 performance with AsNoTracking, query filters, compiled queries, and bulk operations. Optimize your data access layer.
-
Building Zero-Downtime Database Migrations with EF Core 11
c-sharpcorner.com Issue #512
Master zero-downtime database migrations with EF Core 11 using the Expand-Contract pattern for seamless, production-ready deployments.
-
IQueryable vs IEnumerable in C# — The Difference Every .NET Developer Should Know
medium.com Issue #511
If you’ve worked with LINQ or Entity Framework, you’ve almost certainly seen these two interfaces:
-
Understanding Entity Framework Core Migrations
c-sharpcorner.com Issue #511
Master Entity Framework Core Migrations for seamless database schema management. Keep your database in sync with evolving C# models using the Code First approach.
-
Modernizing a Legacy Enterprise Application Using .NET 6 Microservices, React, EF Core and ActiveMQ
c-sharpcorner.com Issue #511
Modernize legacy apps with .NET 6 microservices, React, EF Core, and ActiveMQ for independent evolution, scalability, and operational control.
-
Data Access and Persistence in .NET
medium.com Issue #510
In Part 1, I wrote about boundaries. In Part 2, I wrote about aggregates and invariants. In Part 3, I wrote about domain events. In Part 4…
-
EF Core Performance Benchmarks: 12 Mistakes That Hurt Query Speed
c-sharpcorner.com Issue #510
Unlock EF Core performance! Discover 12 common mistakes hurting query speed and learn production-ready solutions for faster applications.
-
Why Every EF Core Developer Needs to Try Entity Framework Extensions
medium.com Issue #509
When building data-intensive applications with Entity Framework Core, you will eventually face a critical performance challenge: inserting… Continue reading on Towards Dev »
-
Entity Framework Core Performance Anti-Patterns in Production
c-sharpcorner.com Issue #509
Master EF Core performance! Avoid common anti-patterns like N+1 queries, over-fetching, and client-side evaluation for faster, scalable .NET apps.
-
EF Core Is Already a Repository. Stop Wrapping It in Another One.
medium.com Issue #509
Open a lot of .NET projects and you’ll find the repository pattern sitting on top of Entity Framework Core. IProductRepository, GetById…
-
Slow pagination in EF Core? Try keyset pagination
roundthecode.com Issue #509
Learn how keyset pagination works in Entity Framework Core, how it compares to offset pagination, and how indexes can dramatically improve your pagination performance.
-
Mastering EF Core Performance Everything I Learned About Writing Faster Queries
bvsreyanth.medium.com Issue #509
Hi Everyone 👋
-
The N+1 Query Problem in EF Core (And How to Spot It Before Production Does)
medium.com Issue #508
A page that felt fine in testing is slow in production. Same code, same query, but now it crawls. You open the SQL log and there it is —…
-
After Four Years with Entity Framework Core, EF Core 10 Finally Feels Worth the Upgrade
medium.com Issue #507
After 4 Years of Using Entity Framework Core, EF Core 10 Is the First Upgrade That Actually Makes Me Want to Migrate