Keep Your C# Application Smooth using Asynchronous Programming with Async/Await

preview_player
Показать описание
Asynchronous programming at its most basic level is a way of executing a potentially long running task but doing so in a way that doesn't block the whole program and makes it so that the program is still responsive to events and user input.

In this video, I'll show you how to write asynchronous code in C# using the async and await keywords. I'll use an example of a C# WinForms application that calls a slow API, demonstrating how you can allow the API call to run while still being able to interact with the UI simultaneously.

#dotnet #csharp #code #softwaredevelopment #softwareengineer #asynchronous
Рекомендации по теме
Комментарии
Автор

Extremely useful one, thanks Nick. I would request similar content on the exception handling, Task cancellation in functions which are async returning Task.

manojambhore
Автор

This is the most helpful video I've found on this stubject. Simple, well explained, and succint. Thank you!

TheBishopOfBarton
Автор

I appreciate the clear spoken English lol. You never know these days in the programming world.
The button call returns a void, not Task, therefore it cannot be awaited. Is that good practice? May also be not handy during tests or bug hunting.

angel_machariel
Автор

Easy pizzy. Thanks. I had forgotten the syntax

Sedna.Kianfarooghi
Автор

good video with clear examples given. Thanks!

AllAboutDataTechnology
Автор

Thanks for uploading this video. Could you please demonstrate the async await concept in a c# console application if possible.

deanambrox
Автор

Could you make a video explaining these concepts using C++/CLI ?

adarshpanda
Автор

Thank you! What is the purpose of surrounding your http call with a using statement? I've seen this kind of coding before but not really sure why it's used...

tamboleo
Автор

Could u do a video explaining the concepts of parameters in API, I mean with restsharp, how to insert headers, body, authorization and comparing that to postman

miguelperezs
welcome to shbcf.ru