FenixKit just shipped Redis 8 cache-aside for .NET 8 Minimal API — Valkey 7.2 supported too
🔥 FenixKit now ships with Redis 8 cache-aside — and Valkey 7.2 support out of the box
Building a cache layer for a .NET API is one of those things that sounds simple until you're debugging stale cache at 11pm.
We just shipped two new kits:
MongoDB + Redis and MongoDB + Keycloak + Redis
Both include a production-ready cache-aside layer wired directly into BaseRepository — meaning you get automatic invalidation on every write, with zero boilerplate in your repositories.
What's actually included:
→ Tag-based invalidation at 3 levels — automatic on every write, by tag for custom queries, by key for surgical removal
→ FailOpen by default — Redis down = cache miss, API keeps serving from MongoDB
→ NullCacheService — set Cache:Enabled = false and Redis is never touched, health check omitted, zero code changes
→ Redis 8 on Docker Compose, ready on docker compose up
Valkey support:
A docker-compose.valkey.yml using Valkey 7.2 is included in both kits. StackExchange.Redis is wire-protocol compatible — swap the image, nothing in your code changes. For teams avoiding the Redis SSPL license, it's a one-line swap.
The Keycloak + Redis kit is the full stack: JWT auth, role-based policies, OAuth2 PKCE in Swagger, tag-based Redis cache, and a pre-built Keycloak realm — all from docker compose up.
👉 fenixkit.dev
Check the full docs and code on GitHub: FenixKit-MongoDB-Redis and FenixKit-MongoDB-Keycloak-Redis
MongoDB + Redis at €45, MongoDB + Keycloak + Redis at €55 — use code FIRSTXPEOPLE for €15 off either.

Replies