Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in synchronizationcontext

Any scenario where Task.ContinueWith(..., TaskScheduler.FromCurrentSynchronizationContext()) would *not* run on the UI thread?

Security, Thread.CurrentPrincipal, and ConfigureAwait(false)

Is ConfigureAwait(false) needed/beneficial when awaiting async calls in Azure Functions

When to call SynchronizationContext.SetSynchronizationContext() in a UI application?

Use ConfigureAwait(false) in a Windows Service?

.Net core & SynchronizationContext & Thread.SetData

async/await with ConfigureAwait's continueOnCapturedContext parameter and SynchronizationContext for asynchronous continuations

What do I do with async Tasks I don't want to wait for?

Why a unique synchronization context for each Dispatcher.BeginInvoke callback?

Using SynchronizationContext for sending events back to the UI for WinForms or WPF

.NET: How do I invoke a delegate on a specific thread? (ISynchronizeInvoke, Dispatcher, AsyncOperation, SynchronizationContext, etc.)

Dispatcher and SynchronizationContext classes

ASP.Net vs MVC vs WebAPI and UseTaskFriendlySynchronizationContext

How to get a WinForm synchronization context or schedule on a WinForm thread

Semaphore Wait vs WaitAsync in an async method

Why the default SynchronizationContext is not captured in a Console App?

What does 'context' exactly mean in C# async/await code?

What is the difference between SynchronizationContext.Send and SynchronizationContext.Post?

How to get a Task that uses SynchronizationContext? And how are SynchronizationContext used anyway?

Should we use ConfigureAwait(false) in libraries that call async callbacks?