I am developing an application using Visual Studio 2019 with code validation.
Some code validation hints are important, however, I am getting a lot of hints in my awaitable method calls, such as
var appUser = await UserManager.FindByIdAsync(User.Identity.GetUserId());
In this case, system is suggesting me to put
var appUser = await UserManager.FindByIdAsync(User.Identity.GetUserId()).ConfigureAwait(true);
or
var appUser = await UserManager.FindByIdAsync(User.Identity.GetUserId()).ConfigureAwait(false);
Is it really necessary to dirty the code in such a way?
This is an MVC5 ASP.NET application.
Regards Jaime