Blazor Adding HttpClientHandler to add Jwt to HTTP Header on requests
问题 I am using the Visual Studio 2019 and .Net Core 3.0.0-preview-7 with the standard Blazor Client, Server and Shared templates. In the application our server side WebApi application will always require a JWT token to be present in the header for authorization. From looking at the following Make HTTP requests using IHttpClientFactory in ASP.NET Core I created the following handler; public class JwtTokenHeaderHandler : DelegatingHandler { private readonly ILocalStorageService _localStorage;