In this video we look at using the C# programming language to create asynchronous behaviour in our applications. In C# version 5 the Task-based Asynchronous Pattern was introduced which is supported in .NET Framework 4.5 and higher. The Task-based Asynchronous Pattern is also supported in .NET Core. In this video a code example of using the Task-based Asynchronous Pattern in C# is provided. We discuss when it is good to use this pattern, why this pattern was introduced and how it works.
Links
——–
If you’d like to help support the channel,
Buy me a Coffee ☕️
https://www.buymeacoffee.com/GavinLon
PayPal
https://www.paypal.com/paypalme/GavinLon
BitCoin
12JZYMiRq5YRDN5R5zuyYt7jMN8eTpkgns
Full playlist – C# for Beginners Course
https://www.youtube.com/watch?v=2pquQMSYk6c&list=PL4LFuHwItvKbneXxSutjeyz6i1w32K6di
Full playlist – Advanced C# Course
https://www.youtube.com/watch?v=3cfVmcAkR2w&list=PL4LFuHwItvKaOi-bN1E2WUVyZbuRhVokL
Event-based Asynchronous Pattern (EAP)
——————————————————————
https://docs.microsoft.com/en-us/dotnet/standard/asynchronous-programming-patterns/implementing-the-event-based-asynchronous-pattern
Asynchronous Programming Model (APM)
——————————————————————–
https://youtu.be/Rn1xbZ-dZrU
What is a state machine?
—————————————
https://statecharts.github.io/what-is-a-state-machine.html
Promise Model of Asynchrony
————————————————
https://en.wikipedia.org/wiki/Futures_and_promises
What happens in an async method?
———————————————————
http://bit.do/async-diagram
GitHub
———–
UWP Project
——————–
https://github.com/GavinLonDigital/TestClientAsyncUWP
Web API Project
————————–
https://github.com/GavinLonDigital/TestTimeConsumingOperationWebAPI
All music in this video was created by Gavin Lon
Comments are closed.