C# 14 breaks LINQ - how to work around it
C# 14 introduces breaking changes to LINQ queries. This article explains the issues with Reverse and Contains and provides workarounds.
C# 14 introduces breaking changes to LINQ queries. This article explains the issues with Reverse and Contains and provides workarounds.
Explores new features in EF Core 10.0 for managing multiple named global query filters and selectively ignoring them.
Tips for improving performance in Entity Framework Core, covering compiled queries, lazy loading, and other optimizations for reads and writes.
Explores two new LINQ extension methods, InfiniteSequence and Sequence, introduced in .NET 10 Preview 6, highlighting their usage and generic math support.
A guide for developers to track upcoming .NET features by exploring GitHub repositories, issues, labels, and milestones.
Critiques a misleading LinkedIn performance tip about Entity Framework, explaining why dragging entire databases into memory is inefficient and offering the correct solution.
A developer shares a complex solution for dynamic column selection in Entity Framework using expressions, highlighting a self-admitted overengineered approach.
System.Linq.Async is now part of .NET 10, bringing LINQ extension methods to IAsyncEnumerable for asynchronous data processing.
Updated LINQ MindMap for .NET 10, tracking new features and changes in the framework's query capabilities.
A proposal to add a dedicated LeftJoin operator to LINQ in .NET 10, simplifying a common database query pattern.
A critical analysis of the 'always use early returns' coding advice found on LinkedIn, examining readability and maintainability in C#/.NET.
Explores three new LINQ methods (Index, CountBy, AggregateBy) coming in C# 13 and .NET 9, with code examples for each.
A guide to implementing the 'intersperse' method in C# as an extension for IEnumerable, inspired by JavaScript libraries.
A developer explains a compiler error when performing LINQ joins on multiple columns in Entity Framework and provides the solution requiring matching anonymous type property names.
Analyzes a flawed LinkedIn benchmark on LINQ's 'let' keyword, explaining why the test doesn't measure real performance and how to benchmark correctly.
Explains how Entity Framework protects against SQL injection in LINQ queries but warns of risks when using raw SQL, highlighting safer alternatives.
Explores performance improvements in .NET 9's LINQ methods, including OrderBy.ToList and Chunk, using benchmarks and SIMD optimizations.
An updated visual mind map of LINQ features and operations, now including all additions up to .NET 9.
Explores three new LINQ methods added in .NET 9: CountBy, AggregateBy, and Index, with code examples.
An interactive LINQ tutorial for C# beginners using a visual marble-based learning tool to understand query operators.