Chúng tôi không thể tìm thấy kết nối internet
Đang cố gắng kết nối lại
Có lỗi xảy ra!
Hãy kiên nhẫn trong khi chúng tôi khắc phục sự cố
Xây dựng Hệ thống Xác thực Dựa trên Vai trò ĐƠN GIẢN trong .NET (từ đầu)
Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt
Get the source code here: https://www.patreon.com/milanjovanovic
Learn how to implement a robust role-based authorization system in your .NET applications from the ground up. This video covers everything you need to know about securing your application with user roles.
Key topics covered:
- Setting up user roles and managing role relationships in your database
- Implementing role-based claims and authentication
- Adding role authorization using .NET's built-in attributes
- Best practices for role-based security
- Common pitfalls and how to avoid them
- Testing your authorization system
Master Claims Transformation for Flexible ASP.NET Core Authorization
Implementing API Gateway Authentication With YARP
https://www.milanjovanovic.tech/blog/implementing-api-gateway-authentication-with-yarp
Check out my courses:
https://www.milanjovanovic.tech/courses
Read my Blog here:
https://www.milanjovanovic.tech/blog
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Chapters
0:00 Adding the Roles entity
2:38 Configuring with EF Core
6:01 Registering a user with role
6:44 Returning Role claims in JWT
8:51 Enforcing Role Authorization
Dịch Vào Lúc: 2025-03-23T11:36:11Z