I'm new to this, but was able to get it to work...thank you so much! I look forward to watching more of the videos in your series (and watching all of the adds...to help support a good content creator)
You blew my mind with how good you explain things, I get c# in school and Im always lacking behind because the teacher goes over everything so quickly!
Thanks a lot for the course, its amazing. Please tell me why in the CreateRole view is not necessary specify that the asp-controller is Administration but is enough specify asp-action="CreateRole"
I too have the problem Dieter Munnik is experiencing. I have added custom fields to AspNetUsers using an ApplicationUser class inheriting from IdentityUser as in your other videos. In Startup.cs I have added .AddRoles() but I then get errors referring to ViewData["Title"] and RoleName usage in the Razor View. After commenting these out the View opens but is of no use to add records of course. But my other controller actions using standard models to open CRUD Razor Views all have errors referring to the CreateRoleViewModel requiring a primary key. Any advice?
Extra info - it appears IdentityRole is missing a using directive or an assembly reference. Any help on where to add these would be appreciated especially as I find your examples the best on the web.
Hi , I'm encountering the following error when following your solution: An unhandled exception occurred while processing the request. InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Identity.RoleManager`1[Microsoft.AspNetCore.Identity.IdentityRole]' while attempting to activate 'Hybrid2.Controllers.AdministrationController'. Please assist
services.AddDefaultIdentity(options => options.SignIn.RequireConfirmedAccount = true) .AddRoles() // just add this line into your startup and i think your problem is solved .AddEntityFrameworkStores();
Thanks. You just saved my life with these .net core role videos.
:-) Thank you. Feels great and motivated when we get to know our videos are helpful. Thank you for letting us know.
I'm new to this, but was able to get it to work...thank you so much! I look forward to watching more of the videos in your series (and watching all of the adds...to help support a good content creator)
You blew my mind with how good you explain things, I get c# in school and Im always lacking behind because the teacher goes over everything so quickly!
Thanks Mr.Venkat, you uploaded a this video almost after 1 week. I was early waiting for new video since 1 week.
Very nice Explanation Sir
You help me a looooooooooot. Thansk Pragym!!!
These Videos are much helpful
Thank you very much.
long time we missed you
Thank you best teacher
I was waiting for this thank you
Nice explanation sir...
behold, kudvenkat... the man and the legend.... 🤣
Thanks! Waiting for the next lesson.
very nice
2022 and still good. TY for you effrots.
thank's, grate job man.
Thank you for the useful content
what is the point of creating a role if I will need to hard coded it later on each page ????
Thanks a lot for the course, its amazing.
Please tell me why in the CreateRole view is not necessary specify that the asp-controller is Administration but is enough specify asp-action="CreateRole"
My roleManager object is always null any idea why that might be?
Hi, thank you for this amazing content!
Do you have any plans for a lesson on LDAP authentication using ActiveDirectory to link to custom permission?
I too have the problem Dieter Munnik is experiencing. I have added custom fields to AspNetUsers using an ApplicationUser class inheriting from IdentityUser as in your other videos. In Startup.cs I have added .AddRoles() but I then get errors referring to ViewData["Title"] and RoleName usage in the Razor View. After commenting these out the View opens but is of no use to add records of course. But my other controller actions using standard models to open CRUD Razor Views all have errors referring to the CreateRoleViewModel requiring a primary key. Any advice?
Extra info - it appears IdentityRole is missing a using directive or an assembly reference. Any help on where to add these would be appreciated especially as I find your examples the best
on the web.
@@amberleaf5577 i have the same error
@@amberleaf5577 i have the same error
Please do Claims and Policy as well.
Sure Ivandro - We will in our upcoming videos. Thank you for the suggestion.
Thanks for the very important content, Could you please share the knowledge of Clean Architecture for ASP.NET Core?
Can you please discuss CRUD operations with users and their roles. Thanks for this great series.
Sure Ray - That's exactly we will be doing in our upcoming videos.
Thank you so much
Thanks Venkat. go go 78/124
Thank you Sir
Please Also Make A Video on Adding Custom Colomns To Role Manager Like as Identity Manager
IActionResult is not working can ActionResult work the same?
also i am using Mysql as a database so how do i pass the rolename to the database
Ahaha... I was just googling about this like 30 seconds ago! 😂😂😂😂
Hello Ivandro - I am glad you found our video :-)
Hi , I'm encountering the following error when following your solution: An unhandled exception occurred while processing the request.
InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Identity.RoleManager`1[Microsoft.AspNetCore.Identity.IdentityRole]' while attempting to activate 'Hybrid2.Controllers.AdministrationController'.
Please assist
did you manage to fix this?
services.AddDefaultIdentity(options => options.SignIn.RequireConfirmedAccount = true)
.AddRoles()
// just add this line into your startup and i think your problem is solved
.AddEntityFrameworkStores();
@@basepoint987 this helped thnks
I missed you
No parameterless constructor defined for this object. But if i define parameter less constructor, parameter constructor is not called.
Same problem
how to create Roles from Seed
can you share the code
i want pdf material Plz