---
title: "#ef-core articles | Hashnode"
description: "Explore 27 articles tagged #ef-core on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/ef-core"
---

Tag

# #ef-core

27 posts · 1 followers

[Coding Droplets](https://hashnode.com/@codingdroplets) · [Sep 9](https://hashnode.com/posts/stream-large-csv-export-aspnet-core/6aa14a7a922b4b3f77f30666)

### [How to Stream Large CSV Exports in ASP.NET Core: A Real-World Walkthrough](https://codingdroplets.hashnode.dev/stream-large-csv-export-aspnet-core?utm_source=hashnode&utm_medium=feed)

Stream large CSV exports in ASP.NET Core with IAsyncEnumerable and Results.Stream: constant memory, plus the Kestrel and EF Core traps to avoid.

11 min read · [codingdroplets.hashnode.dev](https://codingdroplets.hashnode.dev/stream-large-csv-export-aspnet-core?utm_source=hashnode&utm_medium=feed)

[spipaliya8](https://hashnode.com/@spipaliya) · [Sep 2](https://hashnode.com/posts/why-database-indexes-matter-for-ef-core-performance/6a981dd026c67c2088054ab5)

### [Why Database Indexes Matter for EF Core Performance](https://sudhirpipaliya.hashnode.dev/why-database-indexes-matter-for-ef-core-performance?utm_source=hashnode&utm_medium=feed)

Learn how database indexes improve EF Core performance, composite indexes, execution plans, and common indexing mistakes in SQL Server.

9 min read · [sudhirpipaliya.hashnode.dev](https://sudhirpipaliya.hashnode.dev/why-database-indexes-matter-for-ef-core-performance?utm_source=hashnode&utm_medium=feed)

[spipaliya8](https://hashnode.com/@spipaliya) · [Aug 18](https://hashnode.com/posts/10-common-linq-mistakes-that-hurt-ef-core-performance/6a841259f724dcee227b0003)

### [10 Common LINQ Mistakes That Hurt EF Core Performance](https://sudhirpipaliya.hashnode.dev/10-common-linq-mistakes-that-hurt-ef-core-performance?utm_source=hashnode&utm_medium=feed)

Learn 10 common LINQ mistakes that can slow EF Core queries, increase memory usage, and reduce application performance.

7 min read · [sudhirpipaliya.hashnode.dev](https://sudhirpipaliya.hashnode.dev/10-common-linq-mistakes-that-hurt-ef-core-performance?utm_source=hashnode&utm_medium=feed)

[spipaliya8](https://hashnode.com/@spipaliya) · [Aug 6](https://hashnode.com/posts/why-calling-tolist-too-early-can-hurt-ef-core-performance/6a740d76bb40b8bee125d8b5)

### [Why Calling ToList() Too Early Can Hurt EF Core Performance](https://sudhirpipaliya.hashnode.dev/why-calling-tolist-too-early-can-hurt-ef-core-performance?utm_source=hashnode&utm_medium=feed)

Learn why calling ToList() too early can slow EF Core queries, increase memory usage, and how to write more efficient LINQ queries.

5 min read · [sudhirpipaliya.hashnode.dev](https://sudhirpipaliya.hashnode.dev/why-calling-tolist-too-early-can-hurt-ef-core-performance?utm_source=hashnode&utm_medium=feed)

[spipaliya8](https://hashnode.com/@spipaliya) · [Jul 29](https://hashnode.com/posts/executeupdate-vs-savechanges-in-ef-core-which-one-should-you-use/6a69cf49302148615277bcb8)

### [ExecuteUpdate vs SaveChanges in EF Core: Which One Should You Use?](https://sudhirpipaliya.hashnode.dev/executeupdate-vs-savechanges-in-ef-core-which-one-should-you-use?utm_source=hashnode&utm_medium=feed)

Compare ExecuteUpdate and SaveChanges in EF Core. Learn performance differences, use cases, best practices, and real-world examples.

4 min read · [sudhirpipaliya.hashnode.dev](https://sudhirpipaliya.hashnode.dev/executeupdate-vs-savechanges-in-ef-core-which-one-should-you-use?utm_source=hashnode&utm_medium=feed)

[Coding Droplets](https://hashnode.com/@codingdroplets) · [Jul 20](https://hashnode.com/posts/possible-object-cycle-detected-aspnet-core/6a5e0decf064c7db27c5e29b)

### [A Possible Object Cycle Was Detected in ASP.NET Core: Causes and Fixes](https://codingdroplets.hashnode.dev/possible-object-cycle-detected-aspnet-core?utm_source=hashnode&utm_medium=feed)

Fix the System.Text.Json "a possible object cycle was detected" error in ASP.NET Core - real causes, the right JSON config, and DTO fixes.

10 min read · [codingdroplets.hashnode.dev](https://codingdroplets.hashnode.dev/possible-object-cycle-detected-aspnet-core?utm_source=hashnode&utm_medium=feed)

[Coding Droplets](https://hashnode.com/@codingdroplets) · [Jul 10](https://hashnode.com/posts/postgresql-job-queue-skip-locked-dotnet/6a50deccee6b56771c627c7b)

### [How to Build a Job Queue in .NET with PostgreSQL SKIP LOCKED: A Real-World Walkthrough](https://codingdroplets.hashnode.dev/postgresql-job-queue-skip-locked-dotnet?utm_source=hashnode&utm_medium=feed)

Build a reliable PostgreSQL job queue in .NET with FOR UPDATE SKIP LOCKED: concurrent workers, safe retries, no message broker.

12 min read · [codingdroplets.hashnode.dev](https://codingdroplets.hashnode.dev/postgresql-job-queue-skip-locked-dotnet?utm_source=hashnode&utm_medium=feed)

[Coding Droplets](https://hashnode.com/@codingdroplets) · [Jun 30](https://hashnode.com/posts/ef-core-instance-already-being-tracked/6a43afc8ac9c7b102d986fd3)

### [The Entity Instance Cannot Be Tracked in ASP.NET Core: Causes and Fixes](https://codingdroplets.hashnode.dev/ef-core-instance-already-being-tracked?utm_source=hashnode&utm_medium=feed)

Fix the EF Core "Instance of Entity Type cannot be Tracked" error in ASP.NET Core - The Real Causes and the Update Patterns that Stop it.

9 min read · [codingdroplets.hashnode.dev](https://codingdroplets.hashnode.dev/ef-core-instance-already-being-tracked?utm_source=hashnode&utm_medium=feed)

[Coding Droplets](https://hashnode.com/@codingdroplets) · [May 23](https://hashnode.com/posts/ef-core-owned-entities-vs-complex-types-value-objects/6a11ace502c892c4d50e474f)

### [EF Core Owned Entities vs Complex Types for Value Objects](https://codingdroplets.hashnode.dev/ef-core-owned-entities-vs-complex-types-value-objects?utm_source=hashnode&utm_medium=feed)

EF Core owned entities vs complex types: key differences, trade-offs, and when to use each for DDD value objects in .NET 8+.

11 min read · [codingdroplets.hashnode.dev](https://codingdroplets.hashnode.dev/ef-core-owned-entities-vs-complex-types-value-objects?utm_source=hashnode&utm_medium=feed)

[Juan Miguel Nieto](https://hashnode.com/@jmnieto) · [Apr 14](https://hashnode.com/posts/handling-concurrency-using-ef-core-optimistic-approach/69ddb147217f5dfcbd8178bc)

### [Handling Concurrency using EF Core (optimistic approach)](https://jmnieto.hashnode.dev/handling-concurrency-using-ef-core-optimistic-approach?utm_source=hashnode&utm_medium=feed)

Why does EF Core handle concurrency using the optimistic approach? Browsing through the documentation you will see that handling concurrency conflicts on EF Core is handled by implementing optimistic

2 min read · [jmnieto.hashnode.dev](https://jmnieto.hashnode.dev/handling-concurrency-using-ef-core-optimistic-approach?utm_source=hashnode&utm_medium=feed)
