Skip to main content

Choose packages

Start with Respire. It includes the client, every command, locks, pub/sub, streams, batches, transactions, client-side caching, Cluster, Sentinel, and OpenTelemetry. Add other packages only when you need what they provide.

Each package uses one name for its NuGet package, assembly, and root namespace: install Respire.Search, then add using Respire.Search;.

By what you're building​

I'm building…Install
A console app, worker, or libraryRespire
An ASP.NET Core appRespire.DependencyInjection (includes Respire)
A .NET Aspire appRespire.Aspire
IDistributedCache or HybridCacheRespire.Caching or Respire.Caching.Hybrid
HTTP output caching, rate limiting, or idempotency keysRespire.OutputCaching, Respire.RateLimiting, Respire.Idempotency
Rate limiters, semaphores, leader election, or RedlockRespire.Coordination
Job queues, reliable queues, or stream workersRespire.Streaming (plus Respire.Streaming.Dashboard for the UI)
JSON documents, search, time series, or Bloom filtersRespire.Json, Respire.Search, Respire.TimeSeries, Respire.Probabilistic
AI apps: chat history, semantic cache, vector searchRespire.AI, Respire.VectorData
Azure, AWS, or Google Cloud managed Redis with IAMRespire.Azure, Respire.Aws, Respire.Gcp
Health checksRespire.HealthChecks
TestsRespire.Testing (in-memory) or Respire.Testing.Containers (real Redis)
A gradual move from StackExchange.RedisRespire.StackExchangeCompat

To start from a working project instead, use the project templates: dotnet new install Respire.Templates.

All packages​

Package, assembly, and root namespacePurpose
RespireCore RESP client, commands, connections, serialization, and built-in compression abstractions
Respire.JsonRedis JSON documents
Respire.SearchRedis Search, indexing, aggregation, and vector queries
Respire.VectorDataExplicit AOT-friendly VectorData hash/JSON collections, KNN and hybrid search
Respire.AIRedis chat history, Agent Framework history providers, semantic response caching, and exact-text embedding caching
Respire.TimeSeriesRedis time series
Respire.ProbabilisticBloom, Cuckoo, Count-Min Sketch, Top-K, and t-digest
Respire.AwsAWS IAM credentials for ElastiCache and MemoryDB
Respire.AzureMicrosoft Entra credentials for Azure Managed Redis
Respire.GcpGoogle Cloud IAM credentials for Memorystore for Redis Cluster and Valkey
Respire.CachingIDistributedCache and IBufferDistributedCache integration
Respire.Caching.HybridRedis-backed L2 storage for HybridCache
Respire.OutputCachingASP.NET Core output caching store
Respire.IdempotencyASP.NET Core idempotency-key response replay
Respire.RateLimitingRedis-backed ASP.NET Core rate limiting policies
Respire.DataProtectionDataProtection key storage and payload encryption
Respire.FusionCacheFusionCache backplane and distributed locker sharing an existing Respire client
Respire.SignalRSignalR scale-out sharing an existing Respire client
Respire.StreamingHosted stream consumers with bounded concurrency and scoped handlers
Respire.Streaming.DashboardAuthorized ASP.NET Core dashboard for job queues, stream groups, pending deliveries, and dead-letter actions
Respire.StackExchangeCompatBinary-safe value conversion, native command bridge, and a limited IConnectionMultiplexer adapter for incremental StackExchange.Redis migration
Respire.CoordinationRate limiters, semaphores, read-write locks, latches, leases, and Redlock
Respire.DependencyInjection.NET dependency injection registration
Respire.HealthChecksASP.NET Core health checks using existing client connections
Respire.ResiliencePolly v8 and Microsoft.Extensions.Resilience with one command retry owner
Respire.Aspire.NET Aspire client registration, configuration, health checks, and telemetry
Respire.Aspire.DistributedCaching, Respire.Aspire.HybridCaching, Respire.Aspire.OutputCachingIDistributedCache, HybridCache, and output caching on an Aspire-registered client
Respire.Compression.Lz4Optional LZ4 value codec
Respire.Serialization.MessagePackMessagePack serializer and DI registration
Respire.Serialization.Protobufprotobuf-net serializer and DI registration
Respire.Serialization.MemoryPackMemoryPack serializer and DI registration
Respire.Compression.ZstdOptional Zstandard value codec
Respire.TestingIn-memory RESP test server
Respire.Testing.StackExchangeCompatIn-memory fixture for the supported StackExchange.Redis compatibility subset
Respire.Testing.ContainersRedis and Valkey container fixtures
  • Respire.Analyzers ships inside the core Respire package, not as its own package.
  • Subnamespaces such as Respire.Serialization and Respire.Compression belong to the core package. Respire.Compression holds the shared codec options; import Respire.Compression.Lz4 or Respire.Compression.Zstd for a codec.
  • The Aspire packages put their registration methods in Microsoft.Extensions.Hosting.
  • Extension properties such as redis.Json and redis.Coordination need C# 14 (the net10.0 default). On earlier language versions, construct the wrapper: new RespireJsonClient(redis) or new RespireCoordination(redis).

Upgrade packages together​

Keep every Respire package on the same version. Respire.Aspire, Respire.Caching, Respire.Compression.Lz4, Respire.Compression.Zstd, Respire.Coordination, Respire.DataProtection, Respire.DependencyInjection, Respire.Json, Respire.Probabilistic, Respire.Search, Respire.StackExchangeCompat, Respire.Streaming, Respire.Streaming.Dashboard, Respire.Testing, and Respire.TimeSeries require the exact Respire version they were built against, including any prerelease suffix. Mixing versions can fail at runtime.

The three Respire.Serialization.* adapters also pin their core dependency exactly so serializer and client packages are upgraded together, even though they use public APIs.

Server modules​

Redis Open Source 8 includes JSON, Search, time series, and probabilistic data types; their client APIs are optional packages. Earlier Redis needs the matching modules or Redis Stack, and other RESP servers may support only some commands. Installing a package does not enable a server feature.

The name Respire.Extensions.<ModuleName> is reserved for custom, separately installed Redis modules; no current package uses it. For custom commands, use the raw command API or command generator.

For older Respire.Extensions.* references, see the package migration guide.