Skip to content

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

License

Notifications You must be signed in to change notification settings

cnblogs/DataProtection.DistributedStore

Repository files navigation

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();
}

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages