Pisum.Dataprotection.Redis (1.18.0)
Published 2026-04-14 14:55:01 +02:00 by mschnecke
Installation
dotnet nuget add source --name pisum --username your_username --password your_token dotnet add package --source pisum --version 1.18.0 Pisum.Dataprotection.RedisAbout this package
ASP.NET Core Data Protection Library.
Pisum.Dataprotection.Redis
ASP.NET Core Data Protection key storage using Redis.
Installation
dotnet add package Pisum.Dataprotection.Redis
Usage
builder.Services.AddDataProtection()
.ConfigureDataProtection(configuration.GetSection("DataProtection"))
.ConfigureDataProtectionRedis(configuration.GetSection("Redis"));
Configuration
{
"DataProtection": {
"ApplicationName": "MyApp"
},
"Redis": {
"ConnectionString": "localhost:6379",
"KeyName": "DataProtection-Keys"
}
}
Supported Frameworks
- .NET 8.0
- .NET 9.0
- .NET 10.0