#571 – August 24, 2025
reduce memory usage by over 50% but also improve CPU performance
Memory optimizations to reduce CPU costs
3 minutes by Oren Eini
Oren discusses a memory and CPU optimization technique for large datasets by converting an array of objects into separate arrays for each property, resulting in significant memory savings. The most unexpected discovery was that replacing an array of string references with an array of byte indexes not only reduced memory usage by over 50% but also dramatically improved CPU performance.
Let AI do the boring parts of your API design
sponsored by FusionAuth
Writing APIs is fun, until it’s not. Specs, docs, edge cases... it’s like doing laundry when you’d rather be building cool stuff. Join FusionAuth’s free webinar on Sept 10: AI-Assisted API Design. Learn how to let AI handle the tedious bits while you keep control of the important parts.
Feature flags in .NET with IFeatureManager
2 minutes by Yegor Sychev
The article explains how to use IFeatureManager from Microsoft.FeatureManagement to implement feature flags in .NET applications, allowing developers to enable or disable features at runtime without redeployment.
Supercharge your EF Core debugging with Query Tags
1 minute by Bart Wullems
Debugging database queries in Entity Framework Core can sometimes feel like searching for a needle in a haystack. When your application generates dozens or hundreds of SQL queries, identifying which LINQ query produced which SQL statement becomes a real challenge. This is when query tags come in handy.
Reset Cookies and force new sign-in using ASP.NET Core Identity
3 minutes by Damien Bowden
This post looks at implementing a cookie reset in an ASP.NET Core application using Duende identity server which federates to Entra ID. Sometimes cookies need to be reset for end users due to size problems, or unknown remote authentication server errors. The cookies can be cleared and a new sign in can be forced.
Database Indexing in .NET with EF Core
7 minutes by Adrian Bailador Panero
Learn how to improve query performance in your .NET applications using database indexing with Entity Framework Core. Includes examples with Fluent API, Data Annotations, migrations, and a benchmark.
And the most popular article from the last issue was: