Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 405 Bytes

File metadata and controls

16 lines (12 loc) · 405 Bytes

DataProtection.DistributedStore

Use IDistributedCache in Microsoft.Extensions.Caching.Distributed to store keys of Microsoft.AspNetCore.DataProtection.

Install Package

https://www.nuget.org/packages/DataProtection.DistributedStore

Configure

Startup.cs

public void ConfigureServices(IServiceCollection services)
{
    services.AddDataProtection().PersistKeysToDistributedStore();
}