Remora.Discord.Caching.Redis 1.1.7

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Remora.Discord.Caching.Redis --version 1.1.7
NuGet\Install-Package Remora.Discord.Caching.Redis -Version 1.1.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Remora.Discord.Caching.Redis" Version="1.1.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Remora.Discord.Caching.Redis --version 1.1.7
#r "nuget: Remora.Discord.Caching.Redis, 1.1.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Remora.Discord.Caching.Redis as a Cake Addin
#addin nuget:?package=Remora.Discord.Caching.Redis&version=1.1.7

// Install Remora.Discord.Caching.Redis as a Cake Tool
#tool nuget:?package=Remora.Discord.Caching.Redis&version=1.1.7

Remora.Discord.Caching.Redis

This package contains a distributed, Redis-based cache provider which can replace the default in-memory cache provider. This alternate cache provider enables a shared cache between multiple applications, which may include (but is not limited to) shards, other bots, and shark-mounted laser cannons.

Structure

The structure is simple, and merely provides a Redis-backed ICacheProvider implementation.

Usage

Usage is simple, but with one caveat - caching must be enabled after the REST and gateway services have been added to the dependency injection container, as this library replaces services from them.

After that, it's as simple as calling the following method. By default, the caching system uses an in-memory cache provider.

services.AddRedisDiscordCaching();

Note that you are not required to call AddDiscordCaching; this is taken care of by the method above.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.7 106 2/5/2024
1.1.6 194 11/14/2023
1.1.5 178 7/24/2023
1.1.4 160 5/11/2023
1.1.3 267 3/20/2023
1.1.2 480 1/19/2023
1.1.1 274 1/10/2023
1.1.0 312 12/28/2022
1.0.24 298 12/10/2022
1.0.23 346 10/30/2022
1.0.22 441 9/2/2022
1.0.21 370 8/19/2022
1.0.20 390 7/26/2022
1.0.19 378 7/26/2022
1.0.18 436 6/29/2022
1.0.17 381 6/27/2022
1.0.16 384 6/23/2022
1.0.15 400 6/20/2022
1.0.14 412 6/19/2022
1.0.13 412 6/18/2022
1.0.12 385 6/14/2022
1.0.11 422 6/8/2022
1.0.10 418 6/3/2022
1.0.9 406 5/25/2022
1.0.8 385 5/23/2022
1.0.7 413 5/15/2022
1.0.6 412 5/10/2022
1.0.5 411 5/3/2022
1.0.4 434 4/28/2022
1.0.3 392 4/25/2022
1.0.0 446 4/18/2022

Update dependencies.