Pisum.Dataprotection.EntityFramework.Sqlite (1.18.0)
Published 2026-04-14 14:55:02 +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.EntityFramework.SqliteAbout this package
ASP.NET Core Data Protection Library.
Pisum.Dataprotection.EntityFramework.Sqlite
ASP.NET Core Data Protection key storage using Entity Framework Core with SQLite.
Installation
dotnet add package Pisum.Dataprotection.EntityFramework.Sqlite
Usage
builder.Services.AddDataProtection()
.ConfigureDataProtection(configuration.GetSection("DataProtection"))
.ConfigureDataProtectionSqlite(configuration.GetSection("Sqlite"));
Configuration
{
"DataProtection": {
"ApplicationName": "MyApp"
},
"Sqlite": {
"ConnectionString": "Data Source=dataprotection.db"
}
}
Migrations
dotnet ef migrations add InitialDataprotection `
--context DataProtectionContext `
--output-dir ./Migrations
Supported Frameworks
- .NET 8.0
- .NET 9.0
- .NET 10.0