Memory leaks, EF Core, and API tuning
A mixed .NET roundup covering memory leaks, EF Core Count vs Any, ASP.NET Core API performance, dependency injection, and Azure DevOps tests.
Jasen's top three picks
- 1 Memory Leaks in .NET: From Obvious to Tricky Scenarios
medium.com
Memory leaks and GC pressure are a good one-two punch for anyone profiling real apps.
- 2 10 Hidden Features in .NET 8 You Should Start Using Today
medium.com
The EF Core Count() vs Any() post is the kind of small optimization that adds up fast.
- 3 Deep dive into the upcoming AI-assisted tooling to upgrade .NET apps
youtube.com
I also included tooling and migration pieces because the ecosystem story matters as much as the code.
Editor's note
I kept this issue intentionally mixed: there’s practical performance work, platform guidance, and a few architecture detours. The memory leak piece and the GC pressure article are especially worth a read if you’ve ever chased throughput regressions. I also liked the EF Core Count() vs Any() breakdown and the API testing pipeline write-up for the very different kinds of day-to-day help they offer.
Today's articles
Memory Leaks in .NET: From Obvious to Tricky Scenarios
medium.com
https://medium.com/@vikpoca/memory-leaks-in-net-from-obvious-to-tricky-scenarios-ccb6c01d82fc
Topics: .NET 8 Performance Profiling
Read article10 Hidden Features in .NET 8 You Should Start Using Today
medium.com
https://medium.com/@venkataramanaguptha/10-hidden-features-in-net-8-you-should-start-using-today-420ff09fbbf0
Topics: .NET 8
Read articleDeep dive into the upcoming AI-assisted tooling to upgrade .NET apps
youtube.com
https://www.youtube.com/watch?v=N9L-Di5z0jU
Read articleEF Core under the hood: Count() vs Any()
ravindradevrani.com
https://ravindradevrani.com/posts/count-vs-any-in-entity-framework-core/
Topics: EF Core Performance
Read article.NET 9 WebAPI + SQL Server — creating and running API tests in Azure DevOps pipeline
medium.com
https://medium.com/@xeonya/net-9-webapi-sql-server-creating-and-running-api-tests-in-azure-devops-pipeline-4c56ba67eac3
Topics: ASP.NET Core Azure DevOps .NET 9
Read articleDependency Injection in .NET Explained: The Complete Guide
medium.com
https://medium.com/@jenilsojitra/dependency-injection-in-net-explained-the-complete-guide-305939ce4486
Topics: C# Design Patterns Solid Principles
Read articleThe Silent Cost of Garbage: How GC Pressure Kills Throughput — Part 1
medium.com
https://medium.com/@nidhiname/the-silent-cost-of-garbage-how-gc-pressure-kills-throughput-part-1-040a01b09523?source=rss------dotnet-5
Topics: Performance
Read articleMaking Cursor Play Nice with ABP.IO
medium.com
https://medium.com/@jasenf/making-cursor-play-nice-with-abp-io-066882495b19
Topics: .NET Aspire Visual Studio Code
Read articleREST API vs ASP.NET Web API: What’s the Difference?
medium.com
https://medium.com/@prasannakumarreddy8.gade/rest-api-vs-asp-net-web-api-whats-the-difference-c4da941abc5c
Topics: ASP.NET Core REST API
Read articleFunctional stuff in C# | Best way to organize service code
medium.com
https://medium.com/@denmaklucky/functional-stuff-in-c-best-way-to-organize-service-code-1d5c0290fc8a?source=rss------dotnet-5
Topics: C# Design Patterns
Read articleThe Ultimate Guide to C#’s ‘PriorityQueue’ — What No One Tells You!
medium.com
https://medium.com/@nagarajvela/the-ultimate-guide-to-c-s-priorityqueue-what-no-one-tells-you-3c0e2f12b24a
Topics: Benchmarking C#
Read articleModernize from ASP.NET to ASP.NET Core: The Future is Now!
youtube.com
https://www.youtube.com/watch?v=x_wZuNOLbF0
Topics: ASP.NET Core .NET Core .NET Framework
Read articleDapper Micro ORM: A Lightweight Alternative to Stored Procedures
medium.com
https://medium.com/@dharmikginoya/dapper-micro-orm-a-lightweight-alternative-to-stored-procedures-333163650d19
Topics: Dapper Performance SQL Server
Read articleHow to Build a High-Performance REST API in ASP.NET Core
medium.com
https://medium.com/@faysalwrites/how-to-build-a-high-performance-rest-api-in-asp-net-core-764b87e1f3d4?source=rss------dotnet-5
Topics: ASP.NET Core Performance REST API
Read articleHow to Restrict Pages using Middleware and PageFilters
danylkoweb.com
https://www.danylkoweb.com/Blog/how-to-restrict-pages-using-middleware-and-pagefilters-UG
Topics: ASP.NET Core Security
Read articleStoring Event Streams in a Database Using Cosmos DB with C#
c-sharpcorner.com
https://www.c-sharpcorner.com/article/storing-event-streams-in-a-database-using-cosmos-db-with-c-sharp/
Topics: Cosmos DB C# Event Sourcing
Read articleBeyond If-Else: Clean Conditional Logic with C# and Design Patterns
medium.com
https://medium.com/@vikpoca/beyond-if-else-clean-conditional-logic-with-c-and-design-patterns-07308326e2d1
Topics: C# Design Patterns Solid Principles
Read articleThe Ultimate Guide to Choosing Between IEnumerable, Arrays, and List in C#
medium.com
https://medium.com/@metoz.florian/the-ultimate-guide-to-choosing-between-ienumerable-t-arrays-and-list-t-in-c-296aa4b5d731
Topics: C# Performance
Read articleBye-Bye Backslashes! Embrace C#’s Raw String Literals Now
medium.com
https://medium.com/@nagarajvela/bye-bye-backslashes-embrace-c-s-raw-string-literals-now-dcb7740feb24
Topics: C# Source Generators
Read articleHow to manage NuGet packages across multiple repositories
medium.com
https://medium.com/@denmaklucky/how-to-manage-nuget-packages-across-multiple-repositories-696f99f25a50
Topics: .NET Core
Read articleHow to Connect a Database to a Web API in C#
medium.com
https://medium.com/@voidspidey/ee0d3c63687a
Topics: ASP.NET Core SQL Server Web API
Read articleBreaking Free: .NET’s Hidden Gem vs MediatR — A Step-by-Step Guide ✨
medium.com
https://medium.com/@metoz.florian/breaking-free-nets-hidden-gem-vs-mediatr-a-step-by-step-guide-583c5d09baf2
Topics: .NET 9 MediatR Source Generators
Read article