Creating roles in asp net core

Creating roles in asp net core

kudvenkat

5 лет назад

132,538 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@dhliu9687
@dhliu9687 - 22.02.2023 05:14

Thanks Venkat. go go 78/124

Ответить
@amirhanna6270
@amirhanna6270 - 31.08.2022 16:01

very nice

Ответить
@mahmoudsamir608
@mahmoudsamir608 - 16.07.2022 13:41

i want pdf material Plz

Ответить
@mohamed.elkholy
@mohamed.elkholy - 03.07.2022 18:19

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

Ответить
@Rekindle1976
@Rekindle1976 - 02.04.2022 14:06

2022 and still good. TY for you effrots.

Ответить
@ronking3445
@ronking3445 - 24.01.2022 21:27

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!

Ответить
@useruser-pq9nl
@useruser-pq9nl - 22.09.2021 17:11

Thank you best teacher

Ответить
@ShoniNemavhidi
@ShoniNemavhidi - 22.07.2021 12:27

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

Ответить
@jayakumar2927
@jayakumar2927 - 06.06.2021 15:12

can you share the code

Ответить
@jayakumar2927
@jayakumar2927 - 06.06.2021 15:11

how to create Roles from Seed

Ответить
@PabloMartinezfr
@PabloMartinezfr - 17.04.2021 01:33

You help me a looooooooooot. Thansk Pragym!!!

Ответить
@chekstats
@chekstats - 17.07.2020 16:33

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

Ответить
@FluentFast
@FluentFast - 04.07.2020 00:28

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)

Ответить
@marcol5374
@marcol5374 - 24.06.2020 23:41

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"

Ответить
@Rooben331
@Rooben331 - 17.05.2020 08:15

Kudvenkat, you are a fantastic teacher. I give you 10 rounds of gun-salute!

Ответить
@adelalmansoury
@adelalmansoury - 14.04.2020 17:25

Thank you so much

Ответить
@amberleaf5577
@amberleaf5577 - 01.04.2020 18:56

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<IdentityRole>() 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?

Ответить
@anandseniyar8814
@anandseniyar8814 - 27.03.2020 20:52

Thank you Sir

Ответить
@janneman7
@janneman7 - 17.03.2020 14:36

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

Ответить
@jayjun8412
@jayjun8412 - 04.02.2020 18:01

IActionResult is not working can ActionResult work the same?

Ответить
@talkathiriify
@talkathiriify - 17.08.2019 10:50

These Videos are much helpful
Thank you very much.

Ответить
@harirajanala9865
@harirajanala9865 - 11.08.2019 10:02

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

Ответить
@silvesteronono4157
@silvesteronono4157 - 10.08.2019 09:04

Thank you for the useful content

Ответить
@legasy825
@legasy825 - 28.07.2019 14:36

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

Ответить
@bashirmanafikhi
@bashirmanafikhi - 08.07.2019 14:01

I was waiting for this thank you

Ответить
@MmMm-tg5mq
@MmMm-tg5mq - 08.07.2019 13:19

long time we missed you

Ответить
@roylee8173
@roylee8173 - 08.07.2019 12:20

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?

Ответить
@forhor
@forhor - 08.07.2019 09:47

Thanks! Waiting for the next lesson.

Ответить
@ramchandrathakkar2022
@ramchandrathakkar2022 - 08.07.2019 09:32

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

Ответить
@lazarstevanovic1286
@lazarstevanovic1286 - 08.07.2019 09:04

I missed you

Ответить
@sakthivel-lc9ni
@sakthivel-lc9ni - 08.07.2019 07:33

Nice explanation sir...

Ответить
@rayt6867
@rayt6867 - 08.07.2019 04:02

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

Ответить
@foxlatinomx
@foxlatinomx - 08.07.2019 01:45

thank's, grate job man.

Ответить
@ivandrofly
@ivandrofly - 07.07.2019 23:19

Please do Claims and Policy as well.

Ответить
@ivandrofly
@ivandrofly - 07.07.2019 23:18

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

Ответить