Blazor Startup Error: System.Threading.SynchronizationLockException: Cannot wait on monitors on this runtime
问题 I am trying to call an api during the blazor(client side) startup to load language translations into the ILocalizer. At the point I try and get the .Result from the get request blazor throws the error in the title. This can replicated by calling this method in the program.cs private static void CalApi() { try { HttpClient httpClient = new HttpClient(); httpClient.BaseAddress = new Uri(@"https://dummy.restapiexample.com/api/v1/employees"); string path = "ididcontent.json"; string response =