Blazor -> System.Net.WebClient is not supported on this platform. Use System.Net.Http.HttpClient instead #2090
-
Beta Was this translation helpful? Give feedback.
Answered by
rockfordlhotka
Feb 4, 2021
Replies: 1 comment 11 replies
-
The answer is that you can't use sync calls. I'm unaware of any way to get But really, in today's world, why would you ever want to use the sync model anyway? It just isn't the way the world works anymore. |
Beta Was this translation helpful? Give feedback.
11 replies
Answer selected by
rockfordlhotka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The answer is that you can't use sync calls.
I'm unaware of any way to get
HttpClient
to act in a sync manner, at least not without all sorts of deadlock edge cases.But really, in today's world, why would you ever want to use the sync model anyway? It just isn't the way the world works anymore.