#508 – June 02, 2024
Why some collections handle weakly and strongly typed values the same but not other
Weakly and strongly typed values in .NET
18 minutes by Yoh Deadfall
Recently I read an interesting article by João Antunes covering how different type of .NET collections handle strongly and weakly typed keys, but it lacks a very important part, an analysis of why some results are almost identical in some cases and not in others. So, let’s dive in and find answers to these questions.
FusionAuth. Auth, Built for Devs, by Devs.
sponsored by FusionAuth
FusionAuth is the modern authentication platform that simplifies secure user access for your applications. It provides user registration, login flows with social and multi-factor auth, OAuth 2.0/OpenID Connect support, and robust user data management. With scalable architecture and extensive APIs/SDKs, FusionAuth offloads complex authentication logic so you can focus on getting back to building the apps you love.
The Bulkhead Pattern: How To Make Your System Fault-tolerant
5 minutes by Derek Comartin
Need resilience in your system? Look no further than the bulkhead pattern which is about creating isolation in various parts of your system.
Cancel WhenAny linked CancellationTokenSource
2 minutes by Steven Giesel
In today's short post, I will show you how to cancel a Task with multiple inputs using CancellationTokenSource and CreateLinkedTokenSource.
Blazor HTML Forms, Submitting, and Antiforgery Tokens
5 minutes by Khalid Abuhakmeh
Understanding HTML forms in Blazor Server-side Rendering Scenarios. In this post, we’ll see how to use the plain-old form tag with a Blazor SSR page, handle form posts, and attach antiforgery tokens.
Why you should batch message processing and how to do it with .NET AsyncEnumerable
6 minutes by Oskar Dudycz
AsyncEnumerable is a sneaky abstraction. It allows simplified and performant usage for iterating on pull-based and push-based sources. “Pull-based and push-based sources” sound smart, but what are they?