Eleven platform features span every module in fullstackhero. They wire once at the host layer, then any module consumes them through the same interfaces and conventions — no per-module bespoke setup.
The eleven concerns
- 01/11
Caching
HybridCache (L1 in-memory + L2 Valkey) with OpenTelemetry instrumentation, stampede protection, and tag-based invalidation.
- 02/11
Background jobs
Hangfire 1.8 wired with tenant context preservation, DI-aware scoped activation, OpenTelemetry instrumentation, and a basic-auth-gated dashboard.
- 03/11
Observability
Serilog 4 structured logging + OpenTelemetry 1.15 traces, metrics, and logs over OTLP — with Mediator and EF Core instrumentation.
- 04/11
Idempotency
Idempotency-Key header support with HybridCache-backed replay protection across instances.
- 05/11
Feature flags
Microsoft.FeatureManagement with a custom TenantFeatureFilter so flags can be enabled per tenant.
- 06/11
Rate limiting
ASP.NET Core RateLimiting with the kit's "auth" policy applied to login / refresh / reset / self-register endpoints to prevent brute force.
- 07/11
Health checks
Liveness + readiness endpoints — database, Valkey, MinIO, tenant migrations — for Kubernetes / Docker Compose / load balancer probes.
- 08/11
Server-Sent Events
A small SSE endpoint scaffold for one-way streaming (live audit log, usage gauge, build status) without the complexity of SignalR.
- 09/11
Realtime
SignalR with a Valkey backplane, group conventions for users + channels, post-SaveChanges broadcast pattern, and distributed-cache typing throttle.
- 10/11
HTTP resilience
Polly v8 via Microsoft.Extensions.Http.Resilience — retry, circuit breaker, timeout, hedging — applied to every named HttpClient in the kit.
- 11/11
Error handling
Global exception handler converts CustomException / NotFoundException / ForbiddenException / UnauthorizedException into RFC 9457 ProblemDetails responses.
Each page covers one concern in depth — how it’s wired, where the implementation lives, how modules consume it, and the gotchas worth knowing.
Related
- Web building block — the composition root that wires every concern.
- Modules overview — every module composes against these features.
- Architecture: dependency injection — how
AddHeroPlatformties it together.