11,570 questions
See the following blogs. It has to do with using the SynchronizationContext or not.
https://devblogs.microsoft.com/dotnet/configureawait-faq/
https://blog.stephencleary.com/2017/03/aspnetcore-synchronization-context.html
Parallel Computing - It's All About the SynchronizationContext