Asp.Net Core Web API with JWT Authentication & Refresh Tokens using SQL Server + Identity Server
Автор: Code Hub
Загружено: 2025-08-20
Просмотров: 1495
Описание:
🔥 Want to build a secure ASP.NET Core Web API with JWT Authentication and Refresh Tokens?
In this tutorial, I’ll show you step-by-step how to implement a real-world authentication system using SQL Server, Identity, and JSON Web Tokens (JWTs).
-------------------------------------------------------------------------------------
Here’s what you’ll learn:
✅ Set up ASP.NET Core Web API with Entity Framework & SQL Server
✅ Implement JWT Authentication with Access Tokens
✅ Add Refresh Token functionality to keep users logged in securely
✅ Store, validate, and revoke refresh tokens in the database
✅ Apply Role-Based Authorization to protect your endpoints
✅ Test everything in Postman like a pro 💻
By the end of this video, you’ll have a production-ready authentication system you can use in any .NET project.
-------------------------------------------------------------------------------------
Download Source Code: / asp-net-core-web-136985265
-------------------------------------------------------------------------------------
Chapters: -
00:00 Introduction
00:27 Create project & Import Required Packages
01:35 Create Models & Database
05:14 Create DTO's
06:51 Create Token Service Class
10:28 Create Role Controller
12:51 Create Auth Controller
20:00 Create Test Controller
21:02 Setup Program.cs File
23:16 Create Roles [Testing]
25:21 Create Users [Testing]
25:55 Assign Roles To Users [Testing]
26:43 Login & Generating Access Tokens [Testing]
29:02 Generation Access Tokens Using Refresh Token [Testing]
30:35 Revoking Refresh Tokens [Testing]
-------------------------------------------------------------------------------------
Related Videos:
1. Custom Role Based Authentication In Asp.net Core MVC Application - Complete Tutorial: • Create Custom Role Based Authentication In...
2. Create Custom Login, Registration, Email Verify And Forgot Password Pages In Asp.Net Core MVC App: • Create Custom Login, Registration, Email V...
3. Create Role Based User Management API Using Dynamic Policies In Asp.Net Core Web API: • Create User Management (Role Based) API Wi...
4. Create Role Based User Management App In Flutter With Asp.Net Core Web API as Backend From Scratch: • Create User Management (Role Based) Flutte...
5. Create Wallpaper App In Flutter From Scratch Using Pexels API [Complete Tutorial]: • Create Wallpaper App In Flutter From Scrat...
6. Create Camera App From Scratch In Flutter [with Flash, Camera Switching, Multiple Images Functions]: • Create Camera App From Scratch In Flutter ...
7. Connect Flutter With Asp.Net Core Web API To Run On Emulator & Real Device: • Connect Flutter With Asp.Net Core Web API ...
-------------------------------------------------------------------------------------
📢 Stay Connected:
💖 Like this video if you found it helpful!
📣 Share your thoughts or questions in the comments below!
🚀 Share this video with your friends.
-------------------------------------------------------------------------------------
Join WhatsApp Channel: https://whatsapp.com/channel/0029VaE0...
Facebook Page Link: / free_trained
Facebook Group Link: / 1746009532359857
Please Subscribe Our YouTube Channel For More interesting Videos And Don't Forget To Share Our Channel With Your Friends.
Note: *Please Turn Off Any Ad Blocker Software or add-on to support us.
#aspnetcore #jwt #dotnet #webapi #authentication #refresh #token
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: