I have an api https://localhost:7293/ everything works fine however consuming the api using httpclient on blazor wasm or blazor app wasm or auto render is a nightmare works on load but crashes on reload
tried swapping httpclient on all kind of ways still got the erros
builder.Services.AddHttpClient<IDashboardService, DashboardService>(api => api.BaseAddress = new Uri("https://localhost:7293/"));
orbuilder.Services.AddHttpClient();
or
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7293/") });
not this is in dotnet 8 Version="8.0.6"