Свежий пост на блоге Microsoft про async/await и их работу, а также про: SynchronizationContext, TaskScheduler, ConfigureAwait и многое другое
https://devblogs.microsoft.com/dotnet/configureawait-faq
#async #await
https://devblogs.microsoft.com/dotnet/configureawait-faq
#async #await
Microsoft News
ConfigureAwait FAQ
.NET added async/await to the languages and libraries over seven years ago. In that time, it’s caught on like wildfire, not only across the .NET ecosystem, but also being replicated in a myriad of other languages and frameworks. It’s also seen a ton of improvements…
Работа с асинхронными потоками в C# 8
https://developers.redhat.com/blog/2020/02/24/c-8-asynchronous-streams
#asynchronous #stream #async
https://developers.redhat.com/blog/2020/02/24/c-8-asynchronous-streams
#asynchronous #stream #async
Red Hat Developer
C# 8 asynchronous streams | Red Hat Developer
.NET Core 3.1 (December 2019) includes support for C# 8, a new major version of the C# programming language. In this series of articles, we'll look at the new
Тонкости использования ref struct при работе с асинхронными методами.
https://blogs.endjin.com/2020/03/high-performance-c-a-test-pattern-for-ref-structs
#ref #struct #async
https://blogs.endjin.com/2020/03/high-performance-c-a-test-pattern-for-ref-structs
#ref #struct #async
Endjin
High-performance C#: a test pattern for ref structs | endjin
C# 7.2 introduce ref structs, a new kind of type (Span is a ref struct) designed to support certain high performance scenarios. There are constraints around their use, and when writing unit tests for our Ais.Net parser, this caused some challenges. This blog…
Если так вышло, что последние лет десять вы провели в глубоком legacy, попали в будущее с помощью машины времени, или только начали изучать аснхорнность, то вам точно пригодится небольшой чек-лист по работе с async/await в C#
https://jamiemagee.co.uk/blog/7-tips-for-converting-csharp-code-to-async-await
#async #await
https://jamiemagee.co.uk/blog/7-tips-for-converting-csharp-code-to-async-await
#async #await
jamiemagee.co.uk
7 tips for converting C# code to async/await
Over the past year I’ve moved from working mainly in Java, to working mainly in C#. To be honest, Java and C# have more in common than not, but one of the major differences is async/await. It’s a really powerful tool if used correctly, but also a very quick…