Giter Site home page Giter Site logo

asynccsharp's Introduction

Source of the code and/or the ideas presented here:

Asynchronous programming with async and await

https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/async/?WT.mc_id=EducationalAdvancedCsharp-c9-niner

Code samples:

https://github.com/dotnet/docs/blob/main/docs/csharp/programming-guide/concepts/async/snippets/index/AsyncBreakfast-starter/Program.cs

Relevant content that helped me go through this topic:

Introduction To Async, Await, And Tasks | C# 201 [5 of 8] - A short video by @Billwagner and @mika_dumont from Microsoft Team

https://www.youtube.com/watch?v=X9N5r6kMOxw

An On .NET show with @thecodetraveler (Brandon Minnick) sharing best practices of async/await

https://www.youtube.com/watch?v=My2gAv5Vrkk

Six Essential Tips For Async by Lucian Wischik

https://channel9.msdn.com/Series/Three-Essential-Tips-for-Async/Three-Essential-Tips-For-Async-Introduction

Tip 1: Async void is for top-level event-handlers only

https://channel9.msdn.com/Series/Three-Essential-Tips-for-Async/Tip-1-Async-void-is-for-top-level-event-handlers-only

Tip 2: Distinguish CPU-Bound work from IO-bound work

https://channel9.msdn.com/Series/Three-Essential-Tips-for-Async/Tip-2-Distinguish-CPU-Bound-work-from-IO-bound-work

Tip 3: Wrap events up in Task-returning APIs and await them

https://channel9.msdn.com/Series/Three-Essential-Tips-for-Async/Lucian03-TipsForAsyncThreadsAndDatabinding

Tip 4: Async Library Methods Shouldn't Lie

https://channel9.msdn.com/Series/Three-Essential-Tips-for-Async/Async-Library-Methods-Shouldn-t-Lie

Further content from Lucian Wischik:

https://docs.microsoft.com/en-us/archive/blogs/lucian/talk-async-best-practices

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.