Avoid .Wait() and .Result. Prefer async Task (not async void, except for event handlers). Use ConfigureAwait(false) inside libraries so callers do not capture the UI context accidentally.
Avoid .Wait() and .Result. Prefer async Task (not async void, except for event handlers). Use ConfigureAwait(false) inside libraries so callers do not capture the UI context accidentally.
Share with