Blazor OninitializedAsync NEPHERDED EXCEPTION COMPONNENT: Je ne peux pas attendre les moniteurs sur ce temps d'exécution.
// Avoid .Result, it can easily deadlock.
// This error is because it's not supported by single threaded Web Assembly
private static async Task CalApi()
{
var response = await httpClient.GetAsync(path);
if (response.IsSuccessStatusCode) { ... }
}
Av3