.NET 8 Xác thực bằng Identity trong Web API với Mã thông báo Bearer & Cookie 🔒

Tác giả: Patrick God
Ngày xuất bản: 2023-10-03T00:00:00
Length: 20:25

🚀 Join the .NET Web Academy here: https://dnwa.net/3UqG4Zm

---

💖 Support me on Patreon for exclusive source code access: https://patreon.com/_PatrickGod

🚀 Get the .NET 8 Web Dev Jump-Start Course for FREE: https://dotnet8.patrickgod.com

Table of Contents:

00:00 .NET 8 Authentication with Identity in a Web API 🔒

01:05 Official Announcement

02:14 Create a Web API Project

03:08 Add an Entity Framework DataContext

06:12 Register the IdentityDbContext

10:18 Add Authentication with Identity

12:04 Add & run code-first migrations

14:35 Run the App

16:34 Configure Swagger to test the Authentication

18:06 Test the Authentication with Swagger

18:58 What about Cookie Authentication?

#DotNet #Identity #WebAPI

Dịch Vào Lúc: 2025-05-13T07:53:04Z

Yêu cầu dịch (Một bản dịch khoảng 5 phút)

Phiên bản 3 (ổn định)

Tối ưu hóa cho một người nói. Phù hợp cho video chia sẻ kiến thức hoặc giảng dạy.

Video Đề Xuất