1 min readAug 7, 2019
This complete ASP.NET core sample stores sessions in Firestore with the library:
Because ASP.NET core encrypts sessions with a local key, it gets complicated. Pay special attention to Set-Up.ps1
and Startup.cs
in that sample.
I discuss the encryption issue thoroughly in https://medium.com/google-cloud/antiforgery-tokens-asp-net-core-and-google-cloud-7ac6a5c7842b.