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

Tag

# #linq

47 posts · 6 followers

[spipaliya8](https://hashnode.com/@spipaliya) · [3d ago](https://hashnode.com/posts/ef-core-find-vs-firstordefault-what-s-the-difference/6afaa958914a94e8561ad5c4)

### [EF Core Find vs FirstOrDefault: What's the Difference?](https://sudhirpipaliya.hashnode.dev/ef-core-find-vs-firstordefault-what-s-the-difference?utm_source=hashnode&utm_medium=feed)

Understand EF Core Find vs FirstOrDefault, Primary Key lookups, local tracking, SQL queries, performance, and practical C# examples.

7 min read · [sudhirpipaliya.hashnode.dev](https://sudhirpipaliya.hashnode.dev/ef-core-find-vs-firstordefault-what-s-the-difference?utm_source=hashnode&utm_medium=feed)

[spipaliya8](https://hashnode.com/@spipaliya) · [Oct 1](https://hashnode.com/posts/iqueryable-vs-ienumerable-in-c-key-differences/6abe5890be31b354fdb99f01)

### [IQueryable vs IEnumerable in C#: Key Differences](https://sudhirpipaliya.hashnode.dev/iqueryable-vs-ienumerable-in-c-key-differences?utm_source=hashnode&utm_medium=feed)

Learn the difference between IQueryable and IEnumerable in C#, with practical EF Core examples, SQL execution, filtering, projection, and performance

8 min read · [sudhirpipaliya.hashnode.dev](https://sudhirpipaliya.hashnode.dev/iqueryable-vs-ienumerable-in-c-key-differences?utm_source=hashnode&utm_medium=feed)

[spipaliya8](https://hashnode.com/@spipaliya) · [Sep 19](https://hashnode.com/posts/ef-core-projection-how-select-can-improve-query-performance/6aae0bd80263eba28e6b8b92)

### [EF Core Projection: How Select Can Improve Query Performance](https://sudhirpipaliya.hashnode.dev/ef-core-projection-how-select-can-improve-query-performance?utm_source=hashnode&utm_medium=feed)

Learn how EF Core projection with Select reduces unnecessary data, improves API performance, and creates efficient database queries.

17 min read · [sudhirpipaliya.hashnode.dev](https://sudhirpipaliya.hashnode.dev/ef-core-projection-how-select-can-improve-query-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)

[qodors](https://hashnode.com/@qodors) · [Jul 9](https://hashnode.com/posts/iqueryable-vs-ienumerable-the-mistake-that-loads-your-whole-table/6a4f782cdfe8165329ff8546)

### [IQueryable vs IEnumerable: The Mistake That Loads Your Whole Table](https://qodors.hashnode.dev/iqueryable-vs-ienumerable-the-mistake-that-loads-your-whole-table?utm_source=hashnode&utm_medium=feed)

Why the wrong return type loads your entire table into memory — and how to filter in SQL instead.

6 min read · [qodors.hashnode.dev](https://qodors.hashnode.dev/iqueryable-vs-ienumerable-the-mistake-that-loads-your-whole-table?utm_source=hashnode&utm_medium=feed)

[Coding Droplets](https://hashnode.com/@codingdroplets) · [May 27](https://hashnode.com/posts/csharp-linq-mistakes-aspnet-core/6a16581000f7787c31f2751b)

### [7 Common C# LINQ Mistakes in ASP.NET Core (And How to Fix Them)](https://codingdroplets.hashnode.dev/csharp-linq-mistakes-aspnet-core?utm_source=hashnode&utm_medium=feed)

Discover the 7 most common C# LINQ mistakes in ASP.NET Core and how to fix them before they hit production.

10 min read · [codingdroplets.hashnode.dev](https://codingdroplets.hashnode.dev/csharp-linq-mistakes-aspnet-core?utm_source=hashnode&utm_medium=feed)

[Sandeep Pal](https://hashnode.com/@sandeeppall) · [Apr 10](https://hashnode.com/posts/why-your-linq-query-is-killing-performance-with-sql-proof/69d8a462fa7251682e6feab4)

### [Why Your LINQ Query Is Killing Performance (With SQL Proof)](https://sandeeppall.hashnode.dev/why-your-linq-query-is-killing-performance-with-sql-proof?utm_source=hashnode&utm_medium=feed)

“It Works Fine… Until It Doesn’t” You deploy a feature. Everything looks clean. Your LINQ query is elegant. Readable. “Modern.” var users = context.Users.ToList() .Where(u =>

5 min read · [sandeeppall.hashnode.dev](https://sandeeppall.hashnode.dev/why-your-linq-query-is-killing-performance-with-sql-proof?utm_source=hashnode&utm_medium=feed)

[Edgar Milvus](https://hashnode.com/@edgarmilvus) · [Feb 9](https://hashnode.com/posts/csharp-and-ai-programming-series-volume-3-ebook-data-manipulation-linq-and-vectors-from-collections-to-embeddings/6989dcaafec3d9e8c31a7c31)

### [ebook: Data Manipulation, LINQ & Vectors. From Collections to Embeddings](https://programmingcentral.hashnode.dev/csharp-and-ai-programming-series-volume-3-ebook-data-manipulation-linq-and-vectors-from-collections-to-embeddings?utm_source=hashnode&utm_medium=feed)

C# & AI Masterclass: Volume 3

3 min read · [programmingcentral.hashnode.dev](https://programmingcentral.hashnode.dev/csharp-and-ai-programming-series-volume-3-ebook-data-manipulation-linq-and-vectors-from-collections-to-embeddings?utm_source=hashnode&utm_medium=feed)

[Kristiadhy](https://hashnode.com/@kristiadhy) · [Sep 12, 2025](https://hashnode.com/posts/understanding-deferred-execution-in-linq-with-entity-framework-core/68c3bb4ef2c0b539925c068d)

### [Understanding Deferred Execution in LINQ with Entity Framework Core](https://krisoncode.com/understanding-deferred-execution-in-linq-with-entity-framework-core?utm_source=hashnode&utm_medium=feed)

Deferred execution in LINQ with Entity Framework Core optimizes database queries, reduces unnecessary data fetching, and enhances performance

6 min read · [krisoncode.com](https://krisoncode.com/understanding-deferred-execution-in-linq-with-entity-framework-core?utm_source=hashnode&utm_medium=feed)
