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
                    
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="SimpleCDN.Extensions.Redis" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimpleCDN.Extensions.Redis" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="SimpleCDN.Extensions.Redis" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SimpleCDN.Extensions.Redis --version 1.0.4
                    
#r "nuget: SimpleCDN.Extensions.Redis, 1.0.4"
                    
#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.
#addin nuget:?package=SimpleCDN.Extensions.Redis&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=SimpleCDN.Extensions.Redis&version=1.0.4
                    
Install as a Cake Tool

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 is SimpleCDN. This value can't contain whitespace.
  • options.KeyPrefix: A string to prepend to all keys SimpleCDN inserts. Default is SimpleCDN::. An empty value is allowed, meaning no prefix is added.
Product 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. 
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.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