What makes you think that this no longer applies? It still does to my knowledge. The page you linked to has a section for it that just says "TBD".
What makes you think that this no longer applies? It still does to my knowledge. The page you linked to has a section for it that just says "TBD".
In modern ASP .NET, it does nothing, so we don't use it.
https://stackoverflow.com/questions/42053135/configureawaitf...
I experienced deadlocks in ASP.NET Core 2.1 when I connected a legacy application to the web with it and the developers of Microsoft.AspNetCore.Mvc.Formatters.Json forgot to add .ConfigureAwait(false) to a async call into Newtonsoft.Json.
This was easily fixed by writing a small warper around the JsonInputFormatter but it shows how important ConfigureAwait is. When writing a library for anything netstandard, always put ConfigureAwait(false) after each async call where it is not mandatory to return to the same thread again.
This is not universal. In modern ASP.NET core (i.e. web services), ConfigureAwait does nothing and is not recommended. I can confidently say that I don't want it in any of the code that I work on. We can make blanket statements, but clearly we do different things using different patterns and one size does not fit all.
https://stackoverflow.com/questions/42053135/configureawaitf...