Struggling to Learn HTTP Client
Hello colleagues, I had to switch to C# in order to start a career. I’m working with Windows Forms and already have a considerable amount of knowledge, but I’m having difficulty learning HTTP Client. Does anyone know a simple free place where I can learn it?
6 Replies
Uh, the documentation?
There's not much about HttpClient to learn tbh
considering they're using winforms, they likely need to learn async programming, which httpclient requires
along with then learning how to use async programming in winforms
True
In that case, I guess you'll have to use the dreaded
async void
and handle exceptions manually
Unless Winforms has a better way to handle it nowadays?Thanks for the tips, guys. I'll check out what you mentioned about async/await and async void.
What in particular are you jammed on?
.NET 10 is a good start, https://github.com/dotnet/winforms/issues/10739
GitHub
[Umbrella-Item] Planned "async feature" work for .NET 10 · Issue #...
Prio 1: #4631 #5917 Prio 2: #8582 #8547 Prio 2, but may slip to 10. #5918