Creating roles in asp net core

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 50

  • @legasy825
    @legasy825 5 лет назад +1

    Thanks. You just saved my life with these .net core role videos.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  5 лет назад +1

      :-) Thank you. Feels great and motivated when we get to know our videos are helpful. Thank you for letting us know.

  • @UCnpypIAVuYoAN7h_LXsZS1g
    @UCnpypIAVuYoAN7h_LXsZS1g 4 года назад +2

    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)

  • @reinoutko
    @reinoutko 3 года назад

    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!

  • @ramchandrathakkar2022
    @ramchandrathakkar2022 5 лет назад +1

    Thanks Mr.Venkat, you uploaded a this video almost after 1 week. I was early waiting for new video since 1 week.

  • @vaibhavtrikolikar4902
    @vaibhavtrikolikar4902 5 месяцев назад

    Very nice Explanation Sir

  • @PabloMartinezfr
    @PabloMartinezfr 3 года назад

    You help me a looooooooooot. Thansk Pragym!!!

  • @talkathiriify
    @talkathiriify 5 лет назад

    These Videos are much helpful
    Thank you very much.

  • @MmMm-tg5mq
    @MmMm-tg5mq 5 лет назад +3

    long time we missed you

  • @useruser-pq9nl
    @useruser-pq9nl 3 года назад

    Thank you best teacher

  • @bashirmanafikhi
    @bashirmanafikhi 5 лет назад

    I was waiting for this thank you

  • @sakthivel-lc9ni
    @sakthivel-lc9ni 5 лет назад

    Nice explanation sir...

  • @CarlosWashingtonMercado
    @CarlosWashingtonMercado Месяц назад

    behold, kudvenkat... the man and the legend.... 🤣

  • @forhor
    @forhor 5 лет назад

    Thanks! Waiting for the next lesson.

  • @amirhanna6270
    @amirhanna6270 2 года назад

    very nice

  • @Rekindle1976
    @Rekindle1976 2 года назад

    2022 and still good. TY for you effrots.

  • @foxlatinomx
    @foxlatinomx 5 лет назад

    thank's, grate job man.

  • @silvesteronono4157
    @silvesteronono4157 5 лет назад

    Thank you for the useful content

  • @mohamed.elkholy
    @mohamed.elkholy 2 года назад +1

    what is the point of creating a role if I will need to hard coded it later on each page ????

  • @marcol5374
    @marcol5374 4 года назад

    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"

  • @ShoniNemavhidi
    @ShoniNemavhidi 3 года назад +1

    My roleManager object is always null any idea why that might be?

  • @roylee8173
    @roylee8173 5 лет назад +5

    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?

  • @amberleaf5577
    @amberleaf5577 4 года назад

    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?

    • @amberleaf5577
      @amberleaf5577 4 года назад

      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.

    • @agustinaaperlo4679
      @agustinaaperlo4679 3 года назад

      @@amberleaf5577 i have the same error

    • @agustinaaperlo4679
      @agustinaaperlo4679 3 года назад

      @@amberleaf5577 i have the same error

  • @ivandrofly
    @ivandrofly 5 лет назад +4

    Please do Claims and Policy as well.

  • @mukeshdepani8367
    @mukeshdepani8367 4 года назад

    Thanks for the very important content, Could you please share the knowledge of Clean Architecture for ASP.NET Core?

  • @rayt6867
    @rayt6867 5 лет назад +1

    Can you please discuss CRUD operations with users and their roles. Thanks for this great series.

  • @adelalmansoury
    @adelalmansoury 4 года назад

    Thank you so much

  • @dhliu9687
    @dhliu9687 Год назад +1

    Thanks Venkat. go go 78/124

  • @anandseniyar8814
    @anandseniyar8814 4 года назад

    Thank you Sir

  • @harirajanala9865
    @harirajanala9865 5 лет назад

    Please Also Make A Video on Adding Custom Colomns To Role Manager Like as Identity Manager

  • @jayjun8412
    @jayjun8412 5 лет назад

    IActionResult is not working can ActionResult work the same?

    • @jayjun8412
      @jayjun8412 5 лет назад

      also i am using Mysql as a database so how do i pass the rolename to the database

  • @ivandrofly
    @ivandrofly 5 лет назад +3

    Ahaha... I was just googling about this like 30 seconds ago! 😂😂😂😂

  • @janneman7
    @janneman7 4 года назад +4

    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

    • @antogkou
      @antogkou 4 года назад

      did you manage to fix this?

    • @basepoint987
      @basepoint987 4 года назад +4

      services.AddDefaultIdentity(options => options.SignIn.RequireConfirmedAccount = true)
      .AddRoles()
      // just add this line into your startup and i think your problem is solved
      .AddEntityFrameworkStores();

    • @Sam-yb9ut
      @Sam-yb9ut 4 года назад

      @@basepoint987 this helped thnks

  • @lazarstevanovic1286
    @lazarstevanovic1286 5 лет назад +1

    I missed you

  • @chekstats
    @chekstats 4 года назад

    No parameterless constructor defined for this object. But if i define parameter less constructor, parameter constructor is not called.

  • @jayakumar2927
    @jayakumar2927 3 года назад

    how to create Roles from Seed

  • @jayakumar2927
    @jayakumar2927 3 года назад

    can you share the code

  • @mahmoudsamir608
    @mahmoudsamir608 2 года назад

    i want pdf material Plz