Learn how to create and use JSON Web Tokens with .NET 7!

preview_player
Показать описание
JSON Web Tokens (JWT) are a standard for representing claims securely between two parties. They are typically used to authenticate users and authorize their access to certain resources. In this tutorial, we'll see how to implement JWT authentication in a .NET 7 Web API using Entity Framework.

CHAPTERS
00:00 Introduction
000:19 Thanks for your channel support
00:29 Creating a ASP.NET 7 API using Visual Studio 2022
01:00 Installing JWT and Entity Framework Core 7 Nuget Packages
02:05 Creating a User Model
02:57 Creating an Entity Framework Database Context
04:22 Seeding data using the modelbuilder in the onModelCreating
07:25 Configuring JWT and Entity Framework core in the Dependency Injection Container
13:28 Adding JWT Aunthetication to the request pipeline
14:01 Creating an Authentication Controller that will Authenticate and Generate JWT tokens
24:35 Running Entity Framework Core Migrations
28:35 closing remarks
Рекомендации по теме
welcome to shbcf.ru