错误在钥匙圈+ Blazor(Wasm)+ DataProtection中找不到钥匙

时间:2020-08-29 17:02:16

标签: blazor asp.net-core-3.1 data-protection

我将火焰(wasm)配置为通过PersistKeysToFileSystem方法使用DataProtection

PersistKeysToFileSystem

因此,我启动服务器,除以下两点外,其他一切正常:

  1. 文件未保存在目录中

enter image description here

  1. 重新启动服务器时,密钥重新启动,发生以下错误:

enter image description here

1 个答案:

答案 0 :(得分:1)

如果客户端甚至服务器上的浏览器沙箱允许C:\ temp,将会感到惊讶