Angular 18 & .Net Core API - Authorization (Role, Claim & Policy)

preview_player
Показать описание
🍒 Related Videos

📂 GitHub Repo

💖 Channel Support

💌 For Business Inquiries

🚶‍♂️ Follow us

Discussed Topics
0:00:00 - Intro & Prevent Unauthenticated Users
0:11:35 - Authorization with Asp.Net Core Web API Endpoints
0:27:41 - How to access claims of logged in user
0:32:45 - Make Http Request from Angular to a Protected Web API Endpoint
0:46:44 - Authorize with Role, Claim & Policy
1:16:38 - Protect Angular Routes based user claims and roles
1:22:51 - Add a Navbar and a Sidemenu
1:28:48 - Protect Angular Routes with Claim Criteria
1:38:48 - Hide HTML Elements Based on User Claims
1:54:34 - How to handle 401, 403 Request Responses in Angular

#angular #aspnetcore #CodAffection
Рекомендации по теме
Комментарии
Автор

Been following you from the .net MVC identity playlist the pace at which you teach and the reference to the docs that you provide are 🗿.

The next tutorials you can implement the email verification and any third party logins like github, Google Facebook. This will make the tutorial untouchable by any others in this concept. 🙋‍♂️

dilipkumarbk
Автор

very much needed tutorial best in the market, I was searching for it from the last week

Errormakesmarter
Автор

Thanks for the analysis! A bit off-topic, but I wanted to ask: My OKX wallet holds some USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How can I transfer them to Binance?

LamarSubeydhi
Автор

I have one viewpoint regarding the code of this series:


Instead of using c# extension methods for creating the webapi controller action methods, wouldn't it have been so much simpler, straightforward and less time consuming if you simply created a new webapi controller extending from ControllerBase as is usually the norm? It would be so much easier for us because we're already familiar with it, plus we wouldn't have to modify the program.cs file in such a complex manner.
Please consider this, going forward in your upcoming videos and especially for the series on complete web project that you are about to begin.
Thanks,

ProtikPC_pro_indigo
Автор

AWESOME!
Please handle Remember me checkbox and in back-end use micro-services

mommerkhalefa
Автор

Hello sir, could you make a short video explaining how to show different sidebar tabs based on user roles (e.g., restricted tabs for admin and different ones for users), using the same code from the current video? This would be really helpful for my project, which I'm currently working on. Thanks, I will be waiting!

hammadtahir
Автор

sir do one real world complete project on angular 18 and .net for beginner

Errormakesmarter
Автор

Please make a mini multi branch inventory management system Project ❤

mdsafikulislam