asp .net core identity | Role based authorization in asp.net core mvc 7

preview_player
Показать описание
#dotnet7 #aspnetcoremvc #aspnetidentity
Secure your .NET mvc application with identity. It is a tutorial about how to implement login, registration and role-based authorization in .net core mvc.
Topics will be covered here:
Login .NET core mvc
Registration in .NET core mvc
Role based authorization in .NET core mvc
Manage your user profile in identity

💻Source code: There is no change in code in both version. I have upgraded .net 7 to .net 8 with automatic tooling.

Hit the 👍 if you like the video.
.................
Please share it to your circle to support me.

Other links:
.......................................................
connect with me
..........................................
Become a supporter❤:
Рекомендации по теме
Комментарии
Автор

"Sir, we appreciate your efforts for us!"

ijazkhan-mqjy
Автор

Very informative, good explanation. thank you

prasadmadushan
Автор

Very useful explanation, I hope you explain the user permissions for each role
Thank you very much.

AkramAlQaifi
Автор

Thank you so much. It is very helpful to me.

sivakaran
Автор

Great job, well done! You can make a guide on how to check if users are members of an active directory and if they are registered in the system and are part of the active directory then they can log in. Using LDAPS

atanasnedkov
Автор

thank you so much it’s so perfect for my project

datlam
Автор

Where data table come from not showing me in my .net core mvc

viru
Автор

Can we change the URLs so it doesn’t show the default Identity/Account URLs? We should be able to use our own URLs like /login

geepy
Автор

But if I want to redirect directly to admin view after login where to change?

ovonnkl
Автор

rolemanager is not workig when i try to register new user

rehmanmustafa
Автор

is there any way, where there is fixed admin, and admin has different view.

mohammadjulfikarrahman
Автор

Do you have any videos showing how to manage user accounts in the admin area based on what was done in this video?

tomtommy
Автор

Thank you
Pls make a detailed tutorial on jwt authentication

VinuP
Автор

please make a video on how to add another role for example admin user and one more is vendor so how we can add it

qjcuipk
Автор

Thanks for a good video - One question: When you added "Jack Doe" as the name and then retrieved it, only "Jack" came back. This is happening in my code as well. Why doesn't the OnPostAsync capture the entire field when editing the profile? I have added the line: user.Name = Input.Name; to the OnPostAsync method. I can see that the correct name is being passed to the: method, but it never updates the name correctly.

bobhitchin
Автор

Add-New Folder-Services-Add-Class-FileServices, , where code from? Help me please, , thanks

aplikasikependudukanbipabi
Автор

Very useful guide is there any way to separate the login and register for admin and user?

markjosephmanalo
Автор

I am getting failed to build error . While writing update-database

poojasapkal
Автор

How to remove that confirmation mail thing from the project?

rahulstarkindustries
Автор

So if I understand correctly. You add the ApplicationUser class to make it simpler to add in custom stuff to the db, whether it is register info or other new tables? And then the core login will still keep using the IdentityUser for the password hash and all that good stuff that comes with it? Sorry I am very new to all of this.

osrsmerchant