Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Master ASP.NET Core Identity in .NET10: Auth & Authorization

Thành thạo ASP.NET Core Identity trong .NET10: Xác thực & Phân quyền

Thành thạo ASP.NET Core Identity trong .NET10: Xác thực & Phân quyền

(Cập nhật dùng .NET 10) Xác thực và Phân quyền với ASP.NET Core Identity từ A đến Z

4.6
(2,034 đánh giá)
13,942 học viên
Giảng viên
Frank Liu
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
7.0 giờ video
54 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Identity, Claim và Principal (Ngữ cảnh Bảo mật) là gì
Xác thực bằng Cookie cho Ứng dụng Web
Xác thực bằng JWT Token cho Web API / REST API
Các trình xử lý Xác thực và Phân quyền
Phân quyền dựa trên Policy
Tạo và Xử lý Policy Phân quyền Tùy chỉnh
Cấu hình ASP.NET Core Identity
Sử dụng Identity để xử lý mọi tình huống thông thường: Đăng ký người dùng, Đăng nhập, Đăng xuất, Xác nhận Email, Phân biệt Roles và Claims, Trang Hồ sơ người dùng.
Xác thực Đa yếu tố (MFA) với Email
Xác thực Đa yếu tố (MFA) với Ứng dụng Xác thực
Đăng nhập bằng Mạng xã hội với Facebook

Yêu cầu

Có kiến thức C# ở mức Trung cấp hoặc ít nhất 6 tháng kinh nghiệm.
Có kiến thức ASP.NET Core ở mức Trung cấp hoặc ít nhất 6 tháng kinh nghiệm.
Biết cơ bản về HTML.
Nắm vững OOP và khái niệm interface trong C#.
Bạn quan tâm và mong muốn học chủ đề này.

Đối tượng phù hợp

Dành cho Lập trình viên ASP .NET Core
Dành cho Lập trình viên API
Dành cho Lập trình viên Ứng dụng Di động

Nội dung khóa học

6 phần • 54 bài giảng
1 Bài 1: Tổng quan về Bảo mật
2 Luồng Xác thực & Phân quyền
3 Kiến thức cơ bản về ASP.NET Core
4 Ngữ cảnh Bảo mật trong ASP.NET Core
5 Identity Ẩn danh
6 Mã nguồn
7 Tạo Trang Đăng nhập
8 Tạo Cookie với Cookie Authentication Handler
9 Đọc Cookie với Authentication Middleware
10 Kiến trúc & Luồng Phân quyền
11 Phân quyền đơn giản dựa trên Policy
12 Partial View Đăng nhập & Đăng xuất
13 Phân quyền tùy chỉnh dựa trên Policy
14 Thời gian sống Cookie & Phiên trình duyệt
1 So sánh Cookie vs Token và Trường hợp sử dụng
2 Tạo & Sử dụng một Web API Endpoint
3 JWT Token là gì
4 Luồng JWT điển hình
5 Tạo JWT Token với JWT Token Handler
6 Đọc JWT Token với Authentication Handler & Middleware
7 Sử dụng Endpoint được bảo vệ bằng JWT Token
8 Lưu trữ & Tái sử dụng Token trong Phiên
9 Áp dụng Policy cho WebAPI Endpoint
1 Ba thành phần cốt lõi của Identity
2 Cài đặt các Gói Nuget để làm việc với Identity
3 Tạo Cơ sở dữ liệu cho Identity
4 Cấu hình Ứng dụng Web để sử dụng Identity
5 Các lớp Core của Identity
6 Luồng công việc Đăng ký Người dùng
7 Đăng ký Người dùng
8 Đăng nhập Người dùng
9 Luồng Xác nhận Email
10 Chạy thử Xác nhận Email
11 Trang Xác nhận Email
12 Gửi Email
13 Tái cấu trúc Mã gửi Email
14 Đăng xuất
15 Thu thập thêm Thông tin Người dùng bằng cách thay đổi schema IdentityUser
16 Thu thập thêm Thông tin Người dùng bằng Claims
17 Vai trò (Roles)
18 Tạo trang Hồ sơ Người dùng
1 MFA là gì
2 Cách thức 2FA qua email hoạt động
3 Triển khai 2FA bằng Email
4 Cách thức 2FA với Ứng dụng Xác thực hoạt động
5 Triển khai Thiết lập MFA bằng Ứng dụng Xác thực (thủ công)
6 Triển khai Kiểm tra Mã MFA từ Ứng dụng Xác thực
7 Sử dụng Mã QR để Thiết lập MFA
1 Tổng quan về Đăng nhập bằng Tài khoản Mạng xã hội
2 Thiết lập Tài khoản Ứng dụng trên Facebook
3 Thêm: Cách OAuth thực sự hoạt động
4 Ủy quyền Đăng nhập cho Facebook
5 Triển khai Bộ điều khiển Callback
1 BÀI HỌC BỔ SUNG

Giới thiệu khóa học

The course is updated to use .NET 10


Authentication and Authorization are vital components of modern web app and web API development. ASP.NET Core Identity provides a complete solution to achieve this purpose. While it may seem easy to scaffold a solution with a few clicks, truly adapting it to your specific project requirements demands a deep understanding of how ASP.NET Core Identity works from the inside out.


With 5 sections and about 7 hours of high-quality content created by Frank Liu - a senior software developer with over 20 years of experience in .NET development - this course will empower you with comprehensive knowledge and practical skills.


Why Choose This Course:

  • Clear and logical explanations with diagrams: Gain a solid theoretical understanding of ASP.NET Core authentication and authorization through visually engaging diagrams, providing you with a deeper comprehension of the subject matter.

  • In-depth exploration: Secure your web app and web APIs without relying solely on ASP.NET Core Identity, understanding what lies beneath the surface.

  • ASP.NET Core Identity mastery: Learn not only how to code with ASP.NET Core Identity but also comprehend the reasons behind its workings.

  • Multi-Factor Authentication (MFA): Master MFA essentials in ASP.NET Core, starting with Email MFA and progressing to the use of the Authenticator App.

  • External Authentication Providers: Discover how to integrate social media login with Facebook as an external authentication provider into ASP.NET Core apps.


You will learn the following topics in depth:

  1. Section #1: ASP.NET Core Authentication and Authorization UNDER the HOOD.

You will start with a solid understanding of the theory of ASP.NET Core authentication and authorization first and then you will be learning to secure your web app without using ASP.NET Identity, so that you know what is under the hood. This builds a strong foundation for you.


  1. Section #2: Securing ASP.NET Core Web APIs

Same idea with the previous section, but here we are securing Web APIs.


  1. Section #3: ASP.NET Core Identity In Depth

Now we are getting into ASP.NET Core Identity. Here you will not only learn how to code with ASP.NET Core Identity, but you will learn all the reasons behind the working of Identity with the knowledge you have just learned in the previous sections.


  1. Section #4: MFA in ASP.NET Core Identity

MFA is a must when you work with a public facing website. Hence, this section is very important. After the in-depth explanation of the concept, you will start with a simpler Email MFA scenario, then moving on to the Authenticator App MFA case.


  1. Section #5: Integrate External Authentication Providers into ASP.NET Core apps

Lots of applications (public facing or not) want to use external social media to manage the user login, so that the applications can focus on the business logic. This section takes Facebook Login as an example and walks you through the steps of using an external authentication provider.


You will master the following technical skills:

  • What are Identities, Claims, and Principal (Security Context) in ASP.NET Core.

  • Cookie Authentication for ASP.NET Core Web App.

  • ASP.NET Core Authentication and Authorization handlers

  • Policy based Authorization in ASP.NET Core web apps.

  • Create Custom Policies in ASP.NET Core web apps.

  • JWT Token Authentication for ASP.NET Core Web APIs / REST APIs.

  • ASP.NET Core Identity Configuration

  • Use ASP.NET Core Identity to implement all typical scenarios including: User Registration, User Login, Logout, Email confirmation, Roles vs Claims and User Profile page.

  • Integrate MFA with Email into ASP.NET Core apps.

  • Integrate MFA with Authentication App into ASP.NET Core apps.

  • Integrate Social Media login with Facebook into ASP.NET Core apps.


What you will need:

  • Intermediate Level of C# or at least 6 months of experience.

  • Intermediate Level of ASP.NET Core or at least 6 months of experience.

  • Basic HTML.

  • You should know OOP and the concept of interface in C#.

  • You are interested in learning this topic.

  • You are eager to learn.


Who this course is for:

  • ASP .NET Core Developers

  • API Developers

  • Mobile Application Developers

  • C# or VB NET Developers


Enroll now to become an expert in authentication, authorization, and ASP.NET Core Identity, and take your web API development skills to the next level! Experience the power of clear explanations complemented by visually engaging diagrams, ensuring you gain a comprehensive understanding of the subject matter. Don't miss the opportunity to learn from an experienced instructor and excel in your career development.

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Asp Net Core
Hiển thị tất cả khoá học Backend Development
Hiển thị tất cả khoá học Csharp
Hiển thị tất cả khoá học Web Development
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊