Hello guys here in this video, I have explained that how we can fix the error System.InvalidOperationException: Unable to resolve service for type 'ClassLibrary.Model.Models.DbModel.Profile' while attempting to activate 'WebApplicationAPI.Controllers.AccountController'. at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)
We get this error while applying dependency injection in the constructor of a controller.
Go to this link to take the test to identify yourself.
https://oktests.com/
Like us on Facebook: / oktests
Смотрите видео Exception Error: Unable to Resolve Service for Type Model while Attempting to Activate Controller онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь localhost 13 Февраль 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,176 раз и оно понравилось 11 людям.