Answers for "could not resolve a service of type 'microsoft.aspnetcore.identity.rolemanager`1[[microsoft.aspnetcore.identity.identityrole,"

C#
1

Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager

services.AddIdentity<Automobile.Models.Account, IdentityRole>(options =>
    {
        options.User.RequireUniqueEmail = false;
    })
    .AddEntityFrameworkStores<Providers.Database.EFProvider.DataContext>()
    .AddDefaultTokenProviders();
Posted by: Guest on November-23-2020

Code answers related to "could not resolve a service of type 'microsoft.aspnetcore.identity.rolemanager`1[[microsoft.aspnetcore.identity.identityrole,"

C# Answers by Framework

Browse Popular Code Answers by Language