Avoid async void except the top level event handlers
Async all the way even the main function (with C# 7.1)
Use ConfigureAwait(false) in library and let the consumer choose the context
ConfigureAwait(false)
For more details, see Stephen Cleary's blog postarrow-up-right or Mads Torgerse's videoarrow-up-right
Last updated 7 years ago