Is it OK to use .ConfigureAwait(false)
for the following two code snippets?
Case 1
var ds = new BindingSource();
ds.DataSource = await CallAsync(); // .ConfigureAwait(false);
UIControl.DataSource = ds;
Case 2
UIControl.DataSource = new BindingSource
{
DataSource = await CallAsync() // .ConfigureAwait(false)
};
Does the first one seem to have the problem of set UI control at the background thread? How about the second one?