SimpleCDN.Extensions.Redis
1.0.4
dotnet add package SimpleCDN.Extensions.Redis --version 1.0.4
NuGet\Install-Package SimpleCDN.Extensions.Redis -Version 1.0.4
<PackageReference Include="SimpleCDN.Extensions.Redis" Version="1.0.4" />
<PackageVersion Include="SimpleCDN.Extensions.Redis" Version="1.0.4" />
<PackageReference Include="SimpleCDN.Extensions.Redis" />
paket add SimpleCDN.Extensions.Redis --version 1.0.4
#r "nuget: SimpleCDN.Extensions.Redis, 1.0.4"
#addin nuget:?package=SimpleCDN.Extensions.Redis&version=1.0.4
#tool nuget:?package=SimpleCDN.Extensions.Redis&version=1.0.4
SimpleCDN Redis Extension
SimpleCDN Redis Extension is an extension for SimpleCDN that adds Redis caching support. This extension is useful when you want to run multiple instances of SimpleCDN in for example a kubernetes cluster.
The SimpleCDN Docker Image comes with Redis support by default.
After registering the extension, the connection with Redis is accesible by injecting IRedisCacheService
in your services.
For typical usage, you don't need to interact with this service directly, as SimpleCDN will handle this for you.
Features
- Redis caching
Configuration
var builder = WebApplication.CreateBuilder();
var cdnBuilder = builder.Services.AddSimpleCDN();
+cdnBuilder.AddRedisCache(options => { ... });
options.ConnectionString
: The configuration string for the Redis server. This is a required property.options.ClientName
: How the client should be identified to Redis. Default isSimpleCDN
. This value can't contain whitespace.options.KeyPrefix
: A string to prepend to all keys SimpleCDN inserts. Default isSimpleCDN::
. An empty value is allowed, meaning no prefix is added.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- SimpleCDN (>= 1.0.4)
- StackExchange.Redis (>= 2.8.37)
-
net9.0
- SimpleCDN (>= 1.0.4)
- StackExchange.Redis (>= 2.8.37)
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.0.4 | 137 | 6/3/2025 |
1.0.3 | 117 | 5/2/2025 |
1.0.2 | 120 | 2/21/2025 |
1.0.1 | 109 | 2/11/2025 |
1.0.0 | 109 | 2/11/2025 |
0.9.0-pre1 | 86 | 1/29/2025 |
0.8.0 | 100 | 1/23/2025 |
0.8.0-rc7 | 85 | 1/23/2025 |
0.8.0-rc6 | 100 | 1/21/2025 |
0.8.0-rc5 | 81 | 1/17/2025 |
0.8.0-rc4 | 80 | 1/16/2025 |
0.8.0-rc3 | 74 | 1/15/2025 |
0.8.0-pre9 | 85 | 1/15/2025 |
0.8.0-pre8 | 79 | 1/15/2025 |
0.8.0-pre7 | 82 | 1/15/2025 |
0.8.0-pre6 | 76 | 1/14/2025 |
0.8.0-pre11 | 92 | 1/17/2025 |
0.8.0-pre10 | 78 | 1/17/2025 |
0.8.0-pre1 | 81 | 1/14/2025 |