Using async/await and Task.WhenAll to improve the overall speed of your C# code

added by DotNetKicks
3/12/2019 12:27:30 PM

2 Kicks, 553 Views

Recently I've been looking at ways to improve the performance of some .NET code, and this post is about async/await pattern that I've observed a few times that I've been able to refactor. Every-so-often, I see code like the sample below - a single method or service which awaits the outputs of numerous methods which...


0 comments