Why you must use async/await in C# to make API calls

Опубликовано: 19 Июль 2026
на канале: Round The Code
11,360
228

🎯 Use async and await to make API calls with Minimal APIs:
👉 https://www.udemy.com/course/aspnet-c...

============

► Read the tutorial:
👉 https://www.roundthecode.com/dotnet-t...

🎓 .NET tutorials, code examples and coding challenges 🎓
👉 https://www.roundthecode.com/?utm_sou...

Learn why you must use async and await to make HTTP requests to API's.

You'll learn the difference between synchronous and asynchronous, how to write an async C# method and some of the other Task methods that you can await, such as Task.WhenAll, Task.WhenAny and Task.Run.

► Chapters
0:00 Coming up...
0:14 How to write an async method in C#
0:49 The differences between synchronous and asynchronous
3:59 How to use async in C#
6:01 Other Task operations
7:26 Recommendations
7:54 How to use the HttpClient