AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

DataProtection and scaling /8

Open Rick-Anderson opened this issue 1 year ago • 1 comments

Fixes #32530 Replaces #33086

@amcasey maybe I don't understand the topic, In your draft " However, when an app scales horizontally by adding more instances, it becomes necessary to explicitly configure Data Protection to establish a shared storage location for Data Protection keys. "

But not in all horizontal scaling (right). It's important to not assume much knowledge for newer users.

I think we can lower the friction if I use your draft to create the article.


Internal previews

📄 File 🔗 Preview link
aspnetcore/host-and-deploy/web-farm.md Host ASP.NET Core in a web farm
aspnetcore/security/data-protection/configuration/default-settings.md Data Protection key management and lifetime in ASP.NET Core
aspnetcore/security/data-protection/configuration/scaling.md Configure ASP.NET Core Data Protection in distributed or load-balanced environments

Rick-Anderson avatar Jul 16 '24 22:07 Rick-Anderson

" However, when an app scales horizontally by adding more instances, it becomes necessary to explicitly configure Data Protection to establish a shared storage location for Data Protection keys. "

I think my statement was correct, but I agree that it could mislead new users and should be updated. It is true that someone has to decide and configure where that shared storage location will be, but that someone may not be the app author (e.g. in ACA or App Services on Windows).

amcasey avatar Jul 16 '24 23:07 amcasey