Alachisoft / NCache

NCache: Highly Scalable Distributed Cache for .NET
http://www.alachisoft.com
Apache License 2.0
647 stars 123 forks source link

Provide implementation of AddDataProtection for NCache #29

Closed ryanelian closed 5 years ago

ryanelian commented 5 years ago

First, thank you for implementing the AddNCacheDistributedCache

However, the implementation for Data Protection / Key Store appears to be missing: (CMIIW)

https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/implementation/key-storage-providers?view=aspnetcore-2.1

https://github.com/aspnet/DataProtection/blob/master/src/Microsoft.AspNetCore.DataProtection.Redis/RedisDataProtectionBuilderExtensions.cs

This is critical for load-balancing a web app:

http://www.tugberkugurlu.com/archive/asp-net-core-authentication-in-a-load-balanced-environment-with-haproxy-and-redis