2 April 2026
2 April 2026
Solving the Distributed Cache Invalidation Problem with Redis and HybridCache
How to use Redis pub/sub to invalidate the cache across multiple instances of an application using HybridCache.
They also mention that you could use FusionCache to do it all for you.
Cleaner switch expressions with pattern matching in C#
Example:
1
2
3
4
5
6
7
return environment.ToLower() switch
{
"dev" => devPrefix,
"test" or "tst" => testPrefix,
"prod" or "prd" => prdPrefix,
_ => devPrefix // Default to dev if unknown
};
The or keyword here is a logical pattern combinator, not a boolean operator.
What is OAuth?
Back to basic of why OAuth was designed the way it was.
Copilot customization cheat sheet
Instructions, skills, agents, etc, etc.
.NET Memory Dump Analysis with DumpLinq
Article by Anders Pedersen describing how to use DumpLinq (a tool he wrote) to make sense of .NET memory dumps, with examples.
The Evolution of Validation Techniques in ASP.NET
Everything you need to know about model validation in ASP.NET (and Blazor).
The Gold Standard of Optimization: A Look Under the Hood of RollerCoaster Tycoon
About how the gameplay of RCT was designed around being able to get the best performance out of 1999 hardware.
This post is licensed under
CC BY 4.0
by the author.
