(#57) Role based Menu in MVC 5 | mvc tutorial for beginners in .net c# | MVC By Nitish

(#57) Role based Menu in MVC 5 | mvc tutorial for beginners in .net c# | MVC By Nitish

WebGentle

5 лет назад

40,480 Просмотров

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


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

@loni9467
@loni9467 - 02.10.2023 17:53

is that a non-core mvc?

Ответить
@facttv4405
@facttv4405 - 03.06.2023 11:44

code is not working, authencation is false thats why tabs which is inside the condition on main layout are not showing after login for all users admin as well.

Ответить
@kjeevan100
@kjeevan100 - 03.04.2023 06:36

Awesome. You have done a excellent job. I am facing a problem though. It works on my work laptop well. When I deploy it on the DEV server I get the error "The entity type User is not part of the model for the current context". Any idea how to xix the issue ?

Ответить
@jemschaudhary5922
@jemschaudhary5922 - 05.02.2023 00:42

Great video! Thanks for that.
I am using the same code to verify the role: User.IsInRole("admin") - but I am still getting false there. Can you share what might cause this problem? Do I need to add anything in middleware (program.cs)? Or that is happening because of - I inserted the role manually in the database?

Ответить
@shubhammaini3921
@shubhammaini3921 - 02.01.2023 00:49

what if I have to create a custom roles then what I have to do in that case by creating a roles table using code first approach

Ответить
@semikolon4229
@semikolon4229 - 05.09.2022 09:16

Thanks a lot.

Ответить
@viveknikate2768
@viveknikate2768 - 03.09.2022 13:30

Thanks for this nice tutorials sir..🙏🙏
God bless you😊

Ответить
@kawmmuas
@kawmmuas - 22.05.2022 21:13

Your Eng so bore

Ответить
@kiritpatel1998
@kiritpatel1998 - 03.01.2022 11:49

very useful work by you

Ответить
@jayakumar2927
@jayakumar2927 - 12.05.2021 08:44

Source code

Ответить
@EnGamology
@EnGamology - 04.03.2021 10:23

Is it possible in .net core mvc. If yes then how. Please share link to video

Ответить
@sabya9106
@sabya9106 - 24.02.2021 22:09

From where does the value for user.identity property come from? When are they populated?

Ответить
@jesusplata4520
@jesusplata4520 - 01.12.2020 03:57

indio te amo

Ответить
@abhisheksawant13
@abhisheksawant13 - 28.08.2020 19:59

Nice Explaination, Covers Basic to advance functionality.

Ответить
@kaling_108
@kaling_108 - 26.04.2020 19:16

Sir jab me admin se login karta hun tab v create ka link nehni aa raha he .. Aur wo index wala edit option disable to ho raha he lekin admin string pass karne se v nehni aa raha he.

Ответить
@ferhatsayginer1526
@ferhatsayginer1526 - 14.04.2020 23:53

Hello I am doing the application but in this part
" Line 105: <add name =" prov "type =" odmsoruazlamalama.kullProvider "/> "
"This method cannot be called during the application's initialization phase." I get an error. How can I fix.

Ответить
@waqasjavaid9274
@waqasjavaid9274 - 11.04.2020 16:27

zaberdast yaaar. many many thanks

Ответить
@nandchavan9980
@nandchavan9980 - 04.12.2019 15:25

Thank you sir, this is very useful

Ответить
@maheshbishtful
@maheshbishtful - 18.11.2019 15:13

Very nice, great job and Please add Web Api series with identity framework for token based authentication.

Ответить
@rayganmudberry375
@rayganmudberry375 - 13.08.2019 18:30

thanks for the videos series. make make mvc core with sample project. thank you

Ответить
@ashvinfofandi107
@ashvinfofandi107 - 12.06.2019 16:24

How to work with dynamic role?if admin want to create new role with new rights for each forms and moduels and assign to user.

Ответить
@viru27490
@viru27490 - 30.04.2019 07:06

Dynamic role use kar sakte he ????

Ответить
@muhammadimran5730
@muhammadimran5730 - 14.03.2019 02:50

sir RoleProvider inherit kr rhy same mein b ase hi kr rha but auto resolve krny wala option b nh arha .plz help me

Ответить
@SushantNilajkar
@SushantNilajkar - 23.01.2019 08:15

How can we achieve role based authorization for Windows authentication type

Ответить
@tekeshbisen7735
@tekeshbisen7735 - 13.01.2019 19:48

Thanks Nitesh, you did very well. but would be better if you will not discuss very basic about c#, just focus on MVC.

Ответить
@insafmohammad83
@insafmohammad83 - 11.01.2019 16:55

Nicely explained. Thanks bro

Ответить
@shamsanaz194
@shamsanaz194 - 05.01.2019 20:41

Doing great job boss.

Ответить
@surendrarahangdale9806
@surendrarahangdale9806 - 17.12.2018 12:53

Love you bro...it's really great video and explaination...

Ответить
@RohitKumar-kc1co
@RohitKumar-kc1co - 11.12.2018 21:12

Actually sir i am fresher in mvc but now this time i am felling very happy your video is tooooo good..

Ответить
@narendarsingh4672
@narendarsingh4672 - 29.11.2018 12:49

Great Sir,I am grateful to you.

Ответить
@narendarsingh4672
@narendarsingh4672 - 02.10.2018 08:58

thanks sir

Ответить
@abdulkadirkhan8479
@abdulkadirkhan8479 - 27.07.2018 14:02

Thank u so much i was so confused in role ..but u cleared sir love so much may god bless u

Ответить
@sanjayjha9367
@sanjayjha9367 - 26.07.2018 21:10

Very helpful video sir jee

Ответить
@amolkalbhor2580
@amolkalbhor2580 - 26.07.2018 20:40

After Authentication and authorization can you please upload some videos on MVC 5 with angularjs 5.

Ответить
@amolkalbhor2580
@amolkalbhor2580 - 26.07.2018 20:24

very nice..

Ответить