摘要: .net core 3.1 在Linux上发布的时候遇到如下问题: Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery[7] An exception was thrown while deserializing the token.Microso 阅读全文
posted @ 2020-06-19 18:27 战时事 阅读(3522) 评论(0) 推荐(0) 编辑
摘要: .net core 分布式部署时,不使用Session,使用Redis+Cookie存储数据, 但是会涉及到DataProtection的使用; 解决方法使用DataProtection到持续化到Redis中; Redis 不能使用Microsoft.Extensions.Caching.Redis 阅读全文
posted @ 2020-06-19 18:18 战时事 阅读(1952) 评论(0) 推荐(0) 编辑