Blazor Authentication with JSON Web Tokens

Coding Tutorials
Coding Tutorials
8.2 هزار بار بازدید - 12 ماه پیش - We've seen a ASP.NET backend
We've seen a ASP.NET backend with an Angular frontend. What if we want C# all the way through? Here's how we do it in Blazor.

Source code available at: https://github.com/JasperKent/Blazor-...
Server code available at: https://github.com/JasperKent/WebApi-...

Topics include:
- Creating HttpClient through an HttpClientFactory
- Using appsettings.json in Blazor WASM
- Accessing Session Storage with the Blazored.SessionStorage package
- Decomposing JWTs in .NET
- Using events to update the DOM in Blazor
- Using a DelegatingHandler to augment HTTP requests
- Avoiding cyclic dependency injection
12 ماه پیش در تاریخ 1402/05/13 منتشر شده است.
8,275 بـار بازدید شده
... بیشتر