ASP.Net Core MVC Error: Unable to resolve service for type Microsoft.AspNetCore.Identity.UserManager while attempting to activate

Last Reply 11 days ago By dharmendr

Posted 13 days ago


how i get current user details using core mvc 3.1

InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager`1[Estatemanagement.Models.ApplicationUser]' while attempting to activate 'Estatemanagement.Controllers.EstateProfileController'.

Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, bool isDefaultParameterRequired)