In this project, I will use Blazor Web App frontend + Web API backend in .NET 8, using Entity Framework Core code first, database using SQL Server.
In Part 3, I will show you how to implement Role-Based Authentication and Authorization using JWT
00:00 Intro and flow explanation
01:27 Create Login API
04:40 Setup JWT validation
08:26 Build login form
10:32 Implement AuthenticationStateProvider
14:50 Authorize with AuthenticationStateProvider
18:57 Include token in API calls
20:29 Role-Based Authorization
Link play list for CRUD Blazor Web App & Web API in REAL project:
[ Ссылка ]
Link to Part 1:
[ Ссылка ]
Link to Part 2:
[ Ссылка ]
Link download source code : [ Ссылка ]
Create by: Dose Hieu
#DotNet #Blazor #AspNetCore #authentication #authorization #jwt #aspnetcore #webapi #csharp #aspnet #dotnet8
Ещё видео!