#560 – June 08, 2025
How can we improve or ensure that my APIs are fast?
Tips for Improving API Performance in ASP.NET Core
4 minutes by Emanuele Bartolesi
APIs are the backbone of modern applications, but even the cleanest code can drag if performance isn’t top of mind. How can we improve or ensure that my APIs are fast?
Build Apps Faster with AI-Powered Blazor UI Library
sponsored by Progress Telerik
Reach new levels of developer productivity with the AI-Powered Telerik UI for Blazor component library—a complete set of 110+ enterprise-grade Blazor components, AI Coding Assistants, and more.
The role of AuthenticationProperties in ASP.NET Core
7 minutes by Maarten Balliauw
Maarten explains how to pass additional information during ASP.NET Core authentication using the AuthenticationProperties class. It outlines two key components: the Items dictionary for maintaining encrypted state throughout the authentication process, and the Parameters dictionary for passing unencrypted data to authentication handlers.
IEnumerable vs. IAsyncEnumerable in .NET: streaming vs. buffering
3 minutes by Ali Hamza Ansari
Ali compares IEnumerable and IAsyncEnumerable in .NET, explaining how the latter can significantly reduce memory usage when working with large datasets. He demonstrates that while execution times may be similar, IAsyncEnumerable's streaming approach consumes less memory by processing items as they become available rather than loading entire datasets upfront.
Automating null-forgiving operator removal in C# projects
2 minutes by Gérald Barré
Gérald discusses nullable reference types in C# 8.0 which help prevent null reference exceptions through compile-time checks, but sometimes require the null-forgiving operator (!) when the compiler can't guarantee nullability.
Creating your first sample game with MonoGame
8 minutes by Andrew Lock
Andrew introduces the MonoGame framework, an open-source implementation of Microsoft's XNA 4.0 API for game development. He traces MonoGame's history from its origins as Mono.XNA to its current support for multiple platforms including PlayStation 5 and Nintendo Switch. He also demonstrates how to get started with MonoGame by installing the .NET 8 SDK and MonoGame templates, then explores the default template's structure including project files, NuGet packages, and the basic game loop implementation.
And the most popular article from the last issue was: