Creating roles in asp net core

Поделиться
HTML-код
  • Опубликовано: 9 окт 2024
  • НаукаНаука

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

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

    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!

  • @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.

  • @FluentFast
    @FluentFast 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)

  • @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 Месяц назад

    Very nice Explanation Sir

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

    Thank you best teacher

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

    You help me a looooooooooot. Thansk Pragym!!!

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

    These Videos are much helpful
    Thank you very much.

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

    2022 and still good. TY for you effrots.

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

    long time we missed you

  • @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?

  • @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"

  • @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 ????

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

    Thanks Venkat. go go 78/124

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

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

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

    very nice

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

    Please do Claims and Policy as well.

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

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

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

    Thanks! Waiting for the next lesson.

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

    Thank you for the useful content

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

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

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

    Nice explanation sir...

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

    thank's, grate job man.

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

    Thank you so much

  • @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

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

    Thank you Sir

  • @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

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

    I was waiting for this thank you

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

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

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

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

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

    I missed you

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

    IActionResult is not working can ActionResult work the same?

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

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

  • @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

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

    i want pdf material Plz

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

    can you share the code