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!
@adnanmohamed65173 жыл бұрын
Microsoft's documentation is not only "kinda lacking" but also kinda frustratingly hard to learn from. (Maybe they designed it for experienced developers)
@code81804 жыл бұрын
Thank you so much for this playlist! You´re clearing many doubts i had! Thank you Sir!
@MikeS-yg7bv5 жыл бұрын
Amazing as always !!! Thank you Venkat.
@Olegcowboyoleg Жыл бұрын
You are the BEST!
@adnanmohamed65173 жыл бұрын
Thanks. You're explanation is so clear and helpful :)
@dotalord5 жыл бұрын
This channel is very helpful
@naodagere82104 жыл бұрын
Great. Thank you as always.
@davidyungrise44425 жыл бұрын
First thanks for the hundreds of hours you spend to teach us! How could we prevent that not everyone should have the possibility to create a role?
@imikhan835 жыл бұрын
by applying authorize attribute on the Manage Roles Controller. e.g [Authorize(Roles = "Super Admin")]. it will only allow super admin to create, edit or delete the role. Also, you can use policy for this purpose
@davidyungrise44425 жыл бұрын
@@imikhan83 Thanks
@Csharp-video-tutorialsBlogspot5 жыл бұрын
Great Question David. As @imi said we use Authorize attribute. We will discuss how we could use role based authorization to control who can and cannot create roles in detail in our upcoming videos. Please stay tuned.
@davidyungrise44425 жыл бұрын
@@Csharp-video-tutorialsBlogspot Thanks, and thanks again for your beautiful lectures!
@foxlatinomx5 жыл бұрын
Pretty nice and easey as allways, Thak's man.
@alihameed24575 жыл бұрын
Sir, kindly do explain one more point, if permissions should be granted to roles or they can be granted to an individual user also. Thank You To Legend Sir Venkat.
@imikhan835 жыл бұрын
it depends upon the scenarios.
@Csharp-video-tutorialsBlogspot5 жыл бұрын
Sure Ali - We will discuss in our upcoming videos.
@alihameed24575 жыл бұрын
@@Csharp-video-tutorialsBlogspot Hope so sir. Thank you,
@sakthivel-lc9ni5 жыл бұрын
Good explanation sir..
@lifetraveler80084 жыл бұрын
why for the buttons we are using instead of normal ? . When i use , the button does not work
@menakasattmann53355 жыл бұрын
so perfect. Thanks a lot
@osmansiddik25974 жыл бұрын
I have a problem adding IdentityRole to IEnumerable type or namespace is could not found???
@meetshrivastava1974 жыл бұрын
Use this:- IEnumerable
@cameronjordan8974 жыл бұрын
@@meetshrivastava197 thank you brother
@Christian-tr9jn4 жыл бұрын
@@meetshrivastava197 Had a same problem. This worked, thank you!
@senolkurt78645 жыл бұрын
How can "Role name 'Admin' is already taken" validation error be displayed in another language?
@get_ready5 жыл бұрын
Yeah I was also wandering about the localization possibilities in ASP NET. But I think its easy to google something on this.
@Time215 жыл бұрын
i can not import IdentityRole. It say the type or namespace is missing. how to fix that?
@Time215 жыл бұрын
figured it out....I had to add to the view @using Microsoft.AspNetCore.Identity;
@Csharp-video-tutorialsBlogspot5 жыл бұрын
Hello Nick. Quick tip here. On the red squiggly line if you press CTRL + Period (.) keys simultaneously visual studio will let you know the missing namespace and you can then simply press the ENTER key which will automatically include the required using. Hope this tip helps.
@santoshdevkota19595 жыл бұрын
Hey I went through the same error. For this open Start.cs..... make sure services.AddIdentity..........You have to add IdentityRole.
@davidespada015 жыл бұрын
thank you 😁
@phillipmiller46424 жыл бұрын
i get error saying i have missing directive please help
@johnroygeralde73253 жыл бұрын
I solved the problem by replacing @model IEnumerable WITH @model IEnumerable
@farzaibsheikh97643 жыл бұрын
you are a time saver man thanks
@damianpiotrowski63372 жыл бұрын
Or you can add @using Microsoft.AspNetCore.Identity into _Viewimports.cshtml so you don't need to add this long lines everytime you need this library Same with others, saves time and makes files less flooded with garbage
@AbdulRafay-wy3ve2 жыл бұрын
Thanks Bro ❤️
@meetshrivastava1974 жыл бұрын
Sir let me know how to search, sort and filter all
@dotalord5 жыл бұрын
Plz make videos on generic repository service using dapper with dependency injection
@ivandrofly5 жыл бұрын
Sir where can I get the source code?
@MikeS-yg7bv5 жыл бұрын
You can start step by step from the beggining of this series course and you will have your code. Venkat has a GREAT explaination , you will have no prob.
@ivandrofly5 жыл бұрын
@@MikeS-yg7bv it's not mandatory to start from the beginning if you already have very solid understanding of asp.net core...
@Csharp-video-tutorialsBlogspot5 жыл бұрын
Hello Ivandro - You can find the source code on our blog at the following link. Hope this helps. csharp-video-tutorials.blogspot.com/2019/01/aspnet-core-tutorial-for-beginners.html
@MmMm-tg5mq5 жыл бұрын
thanks
@justshukri94072 жыл бұрын
You can just put that view model in the model instead of viewmodel