data access
Entity Framework Core Articles, Tutorials & News
Entity Framework Core articles, tutorials, and news from the DotNetNews archive.
544 articles Updated Page 2 of 22
Browse additional Entity Framework Core articles from the DotNetNews archive.
Entity Framework Core articles
Page 2 of 22
Newest first
-
Deep Dive into EF Core Query Performance: Default Tracking vs. AsNoTracking
c-sharpcorner.com Issue #520
In Entity Framework Core (EF Core), query performance and memory management are heavily governed by one underlying mechanism: Change Tracking. While EF Core's default tracking behavior makes data muta...
-
EF Core Tracking Is Silently Wasting Your Memory
medium.com Issue #520
Your endpoint returns 50 order summaries. The query allocates objects for every matching order.
-
Benchmarking EF Core Complex-Type Indexes at Scale
c-sharpcorner.com Issue #520
Benchmark EF Core 11 complex-type indexes at scale. Measure query latency, reads, CPU, execution plans, and write overhead.
-
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.