📜  尝试激活“PathApp.Controllers.SearchPathController”时无法解析“Microsoft.AspNetCore.Identity.RoleManager`1[Microsoft.AspNetCore.Identity.IdentityRole]”类型的服务. - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:20.855000             🧑  作者: Mango

代码示例1
services.AddDefaultIdentity().AddEntityFrameworkStores();