EF Core Queries, MongoDB Scaling and C# 15
Explore split-query join removal and API projections, MongoDB read preferences, conversion changes, SQL encryption, and a local Ollama agent.
Jasen's top three picks
- 1 Scaling .NET Microservices with MongoDB: Replica Sets, Read Preferences, and the Hidden Trap of…
Medium
When designing modern microservices with .NET and Blazor, MongoDB is frequently chosen for its rapid write throughput, flexible schema…
- 2 Why double to decimal Conversion Changed in .NET 11 | by AT Dilakshan
Medium
Learn why .NET 11 changes double to decimal conversion, how results differ from .NET 10, and what to check when upgrading your application.
- 3 Using Extension Indexers in C# Beyond Simple Property Access
C# Corner
Learn how to create and use C# 15 extension indexers with extension blocks, including indexed access for IEnumerable collections and custom customer lookups.
Editor's note
I’ve picked a varied mix of database, language, desktop, and AI articles today. The EF Core split-query change is worth a look for the SQL it no longer generates, while the MongoDB piece examines read preferences that can complicate scaling.
Today's articles
Scaling .NET Microservices with MongoDB: Replica Sets, Read Preferences, and the Hidden Trap of…
Medium
When designing modern microservices with .NET and Blazor, MongoDB is frequently chosen for its rapid write throughput, flexible schema…
Topics: MongoDB
Read articleWhy double to decimal Conversion Changed in .NET 11 | by AT Dilakshan
Medium
Learn why .NET 11 changes double to decimal conversion, how results differ from .NET 10, and what to check when upgrading your application.
Topics: C#
Read articleUsing Extension Indexers in C# Beyond Simple Property Access
C# Corner
Learn how to create and use C# 15 extension indexers with extension blocks, including indexed access for IEnumerable collections and custom customer lookups.
Topics: C#
Read articleRead an Excel File in C#: ExcelDataReader, ClosedXML, and No-Library OpenXML
Khalid Abuhakmeh
How to read an Excel file in C#: load .xlsx and .xls into objects with ExcelDataReader, ClosedXML, ExcelMapper, or plain OpenXML, no Office or Interop.
Topics: C#
Read articleHardening a two-level cache in .NET: the edge cases my tests missed
Medium
The happy path took a week. The edge cases took the rest.
Topics: Performance
Read articleEF 11 Drops a Redundant Join From Split Queries
Milan's .NET Weekly
EF 11 stops joining reference navigations in the collection statements of a split query, and it drops their keys from ORDER BY.
Topics: EF Core Performance
Read articleHow do you run a query against data the database can’t read?
Microsoft Dev Blogs
Under the Hood: The Research Behind Microsoft SQL, part 3 Encryption at rest solves one threat. It stops someone who walks off with the disk. It does nothing about someone with administrative access t...
Topics: Security SQL Server
Read articleChoosing Between Include and Select in EF Core for Better API Performance
C# Corner
Learn when to use Include and Select in EF Core, how eager loading differs from projection, and how each approach affects API query performance and response payloads.
Topics: EF Core Performance Web API
Read articleMake the C# Compiler Tell You What You Forgot
Medium
C# 15 has just been released, introducing union types and bringing sum types to the language. This gives C# developers a new way to model…
Topics: C#
Read articleWhy Your WinUI 3 Title Bar Looks Generic (And How to Build a Real One)
Medium
Drag regions, clickable chrome, icons and Mica — the complete implementation, including the three bugs everyone hits.
Topics: C#
Read articleBuilding a Local Enterprise AI Agent with Ollama, C# and MCP
Medium
From running a local LLM to building an agent that can interact with enterprise capabilities
Topics: C#
Read article