Resolve: This async method lacks ‘await’ operators and will run synchronously. Consider using the ‘await’ operator to await non-blocking API calls, or ‘await Task.Run(…)’ to do CPU-bound work on a background thread.

I come across the following warning during working on one of my projects. I looked at the internet and it seems this is very common so I thought I’ll add notes to resolve it. This warning could be dangerous and result in a...

Continue reading