Get list of roles in asp net core

Get list of roles in asp net core

kudvenkat

4 года назад

68,081 Просмотров

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


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

Олег Сил
Олег Сил - 03.07.2023 21:22

You are the BEST!

Ответить
Shukri Ai
Shukri Ai - 13.10.2022 07:48

You can just put that view model in the model instead of viewmodel

Ответить
Adnan Mohamed
Adnan Mohamed - 19.06.2021 09:14

Thanks. You're explanation is so clear and helpful :)

Ответить
John Roy Geralde
John Roy Geralde - 14.05.2021 13:30

I solved the problem by replacing @model IEnumerable<IdentityRole>
WITH
@model IEnumerable<Microsoft.AspNetCore.Identity.IdentityRole>

Ответить
John Roy Geralde
John Roy Geralde - 14.05.2021 10:52

In the ListRoles.cshtml, I have an error in @model IEnumerable<IdentityRole>, The Red squiggly is in IdentityRole and The error is 'IdentityRole' could not be found.

Ответить
Code81
Code81 - 17.09.2020 20:13

Thank you so much for this playlist! You´re clearing many doubts i had! Thank you Sir!

Ответить
meet shrivastava
meet shrivastava - 31.08.2020 12:54

Sir let me know how to search, sort and filter all

Ответить
life traveler
life traveler - 26.07.2020 23:52

why for the buttons we are using <a></a> instead of normal <button></button> ? . When i use <button></button> , the button does not work

Ответить
osman siddik
osman siddik - 26.05.2020 16:12

I have a problem adding IdentityRole to IEnumerable type or namespace is could not found???

Ответить
Naod Agere
Naod Agere - 21.05.2020 01:49

Great. Thank you as always.

Ответить
Ethan Briffa
Ethan Briffa - 22.04.2020 16:26

IL King int

Ответить
Jan Eymers
Jan Eymers - 24.03.2020 11:28

Awesome man! Clearly represented and learning a few tricks along the way. Since the Microsoft documentation on how to properly make use of the inbuilt Identity Models is kinda lacking im happy i found your nice tutorial. Thank you!

Ответить
Phillip Miller
Phillip Miller - 25.02.2020 21:02

i get error saying i have missing directive please help

Ответить
Nick Stavrou
Nick Stavrou - 04.12.2019 00:09

i can not import IdentityRole. It say the type or namespace is missing.
how to fix that?

Ответить
Şenol Kurt
Şenol Kurt - 03.09.2019 00:20

How can "Role name 'Admin' is already taken" validation error be displayed in another language?

Ответить
ball14886
ball14886 - 05.08.2019 08:42

Hen Hao!!!

Ответить
Menaka Sattmann
Menaka Sattmann - 27.07.2019 22:49

so perfect. Thanks a lot

Ответить
Mm Mm
Mm Mm - 10.07.2019 13:11

thanks

Ответить
Mike S
Mike S - 09.07.2019 17:16

Amazing as always !!! Thank you Venkat.

Ответить
Ivandro Jao
Ivandro Jao - 09.07.2019 11:33

Sir where can I get the source code?

Ответить