A description of my image.

Daily Digest, 13 Mar 2025

Published on

 |  Time to Read: 3 mins

#Announcements  

#AI

#Articles

#.NET

  • Hello HybridCache! Streamlining Cache Management for ASP.NET Core Applications - .NET Blog - Microsoft created .NET package HybridCache is now released for .NET 9 and seemingly is becoming a really nice replacement of MemoryCache and DistributedCache. It’s built on top of IDistributedCache, meaning you can just replace your existing distributed cache which can be hooked up to Redis, Garnet, SQL Server, etc! I’d suggest using it over Memory or Distributed if you can to reap the amazing functionality gains, being:
    • Configurable serialization (protobuf, json, etc), DistributedCache was only compatible with byte[]’s
    • Concurrent get request - previous you had to add a layer of task handling on top of your cache if you wanted to avoid many concurrent calls from running and instead just have 1 get call and all the concurrent calls receive this response. Now you just get it out of the box!
    • Optimizations around avoiding byte allocations
    • Immutable responses
  • Ardalis Specification v9 Released | Blog - Ardalis releases hit 9th version of the specification package, I’ve always been a fan of this package in order to extract infra level filtering back up to application layer in Onion architecture. It’s more correct in my opinion, leaving infra layer to handle communication concerns rather than bleeding business logic down.

#Infrastructure

#Leadership