Skip to content

âš¡ CoreSystem.Cache

Production-ready distributed caching framework for .NET 8

NuGet Downloads License .NET OpenTelemetry

CoreSystem.Cache is a production-ready distributed caching framework for .NET 8.

It provides a high-performance cache execution pipeline with Cache-Aside support, HTTP response caching, resilience, health checks, and OpenTelemetry integration.

The framework is built on top of a modular ecosystem of specialized packages for cache providers and serialization.

📦 CoreSystem Ecosystem

Package Responsibility
CoreSystem.Cache Cache orchestration, execution pipeline, HTTP response caching, Cache-Aside, observability, and resilience
CoreSystem.Cache.Memory In-memory cache provider
CoreSystem.Redis Redis connectivity and distributed storage infrastructure
CoreSystem.Serialization JSON, MessagePack, and Protocol Buffers serialization
CoreSystem.Http HTTP abstractions used by the middleware
CoreSystem.Resilience Resilience policies, retries, timeouts, and fault handling for storage operations
CoreSystem.Observability (Optional) Ready-to-use OpenTelemetry instrumentation, metrics, tracing, and diagnostics for CoreSystem packages
CoreSystem.Observability.Abstractions Shared observability contracts for implementing custom instrumentation and integrations

Installing CoreSystem.Cache automatically installs the required provider and serialization packages through NuGet dependencies.

> Optional: Install CoreSystem.Observability to enable built-in OpenTelemetry metrics and tracing. Install CoreSystem.Observability.Abstractions only if you need to build custom observability components or integrations.

📚 Table of Contents

  • Getting Started
  • Why CoreSystem.Cache?
  • Architecture
  • Configuration
  • Basic Usage
  • HTTP Response Caching
  • Observability
  • Health Checks
  • Extensibility
  • Roadmap