ASP.NET Core APIs, performance, and memory tips
This issue mixes API design, EF Core tuning, GC and memory basics, caching, output caching, and a RAG stack built with Azure Functions.
Jasen's top three picks
- 1 Memory Leaks in C#: The Invisible Mess That Bit Me (Once)
piyushdoorwar.medium.com
A candid look at a C# memory leak and how small lifetime mistakes turn into invisible production pain.
- 2 6 EF Core Query Hacks to Supercharge Your App’s Performance
medium.com
Practical EF Core query tweaks aimed at reducing database chatter and making hot paths faster.
- 3 The 3 Banned .NET Performance Tricks That AWS Devs Don’t Want You to Know
medium.com
A provocative performance piece that leans into low-level .NET tradeoffs rather than generic advice.
Editor's note
I kept this issue intentionally mixed: memory leaks, API design, caching, and modern ASP.NET Core patterns all earned a spot. The queue meltdown post and the Aspire dashboard behind-the-scenes piece stood out because they connect real-world reliability with platform internals.
Today's articles
Memory Leaks in C#: The Invisible Mess That Bit Me (Once)
piyushdoorwar.medium.com
https://piyushdoorwar.medium.com/memory-leaks-in-c-the-invisible-mess-that-bit-me-once-b2cb69d83680
Topics: C# Performance
Read article6 EF Core Query Hacks to Supercharge Your App’s Performance
medium.com
https://medium.com/@gobranfahd/6-ef-core-query-hacks-to-supercharge-your-apps-performance-d6f966a9b61f
Topics: EF Core Performance
Read articleThe 3 Banned .NET Performance Tricks That AWS Devs Don’t Want You to Know
medium.com
https://medium.com/inside-the-if/the-3-banned-net-performance-tricks-that-aws-devs-dont-want-you-to-know-dd349445d4ff
Topics: .NET 8 Performance
Read articleThe 5 Pillars of Great API Design: Build Interfaces That Last
medium.com
https://medium.com/@orbens/the-5-pillars-of-great-api-design-build-interfaces-that-last-d2d2b650433d
Read articleASP.NET Community Standup - Behind the Scenes: Building the .NET Aspire Dashboard
youtube.com
https://www.youtube.com/watch?v=SYi4qQn0ZB8
Topics: .NET Aspire .NET 8
Read articleCan you tell me about the new params collections feature in C# 13?
youtube.com
https://www.youtube.com/watch?v=GVQtrDVQBHY
Read articleStop Using Outdated C# Practices from 2020 in .NET 8.
itnext.io
https://itnext.io/stop-using-outdated-c-practices-from-2020-in-net-8-5a3cdc1d7f2b
Read articleWhat Happens When You Write throw ex vs throw in a Catch Block
medium.com
https://medium.com/@sweetondonie/what-happens-when-you-write-throw-ex-vs-throw-in-a-catch-block-672a880800c5
Read articleMy Production-Ready .NET Clean Architecture Template (Used Across 10+ Azure Apps)
medium.com
https://medium.com/@mohsho10/my-production-ready-net-clean-architecture-template-used-across-10-azure-apps-1617ffc0f6bd
Topics: Azure Clean Architecture
Read articleHow .NET automatically cleans up memory using Garbage Collection
medium.com
https://medium.com/@sweetondonie/how-net-automatically-cleans-up-memory-using-garbage-collection-54c7accd0cad
Topics: .NET Core Performance
Read articleFrom IActionResult to TypedResults: A Modern Approach to ASP.NET Core API Responses
medium.com
https://medium.com/@serhatalftkn/from-iactionresult-to-typedresults-a-modern-approach-to-asp-net-core-api-responses-0ca5bbc8b423
Topics: ASP.NET Core Web API
Read articleUnderstanding Select vs SelectMany in LINQ
c-sharpcorner.com
https://www.c-sharpcorner.com/article/understanding-select-vs-selectmany-in-linq/
Topics: C# Unit Testing
Read articleTop 6 Caching Strategies in ASP.NET Core (with Real C# Examples)
medium.com
https://medium.com/@joshiabhi777/top-6-caching-strategies-in-asp-net-core-with-real-c-examples-d7c2bb9655e7
Topics: ASP.NET Core Performance
Read articleWhy ValueTask Might Be All You Need in .NET
medium.com
https://medium.com/@CodeCrack/9c4391e01882
Topics: .NET 8 Performance
Read articleOutput Caching Middleware
medium.com
https://medium.com/volosoft/output-caching-middleware-df8f1c282e39
Topics: ASP.NET Core Performance
Read articleStop Abusing the Heap: 3 C# Tricks That Unlock Ridiculous Performance
medium.com
https://medium.com/@mohsho10/stop-abusing-the-heap-3-c-tricks-that-unlock-ridiculous-performance-97a291fd4901
Topics: C# Performance
Read articleBuilding a Full RAG Stack with .NET 8, Azure Functions, Qdrant, Neo4j, and Hugging Face
medium.com
https://medium.com/@rafaellarrosa/building-a-full-rag-stack-with-net-8-azure-functions-qdrant-neo4j-and-hugging-face-71dcf0b8293c
Topics: Azure Functions OpenAI
Read articleThe Hottest New Programming Language Is Your Mother Tongue
c-sharpcorner.com
https://www.c-sharpcorner.com/article/the-hottest-new-programming-language-is-your-mother-tongue/
Topics: C#
Read article️ “Yesterday Our Queue Handled 1 000 000 Messages — Today It Melted.
medium.com
https://medium.com/@michaelmaurice410/%EF%B8%8F-yesterday-our-queue-handled-1-000-000-messages-today-it-melted-d59a92d546e7
Topics: Kafka Service Bus
Read article