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: github.com/Jas...
Server code available at: github.com/Jas...
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
Негізгі бет Blazor Authentication with JSON Web Tokens
Пікірлер: 31