我正在将一个ASP.NET核心项目从2.2更新到3.1。我已经使用迁移文档整理了所有其他内容,但是看起来UserManager.NormalizeKey(String)在v2.2之后就消失了,而且我找不到任何关于它的迁移文档。 在what I can tell中,似乎没有必要使用它。但我不确定,我们到处都有。 对于后代,错误是:The name 'NormalizeKey' does not exist in the current context 我的代码类似于: public virtual async Task<IdentityResult> AddToRe