ASP.NET HttpContext in async/await patterns using the Task Parallel Library - Part 3

added by Paul Wheeler
12/6/2017 2:42:02 PM

1 Kicks, 118 Views

The SynchronizationContext (SC) is a vital component for the ASP.NET request lifecycle and it is strictly coupled to the HttpContext. In the previous posts we saw how running asynchronous operations by using specific TPL patterns might lead to losing the SynchronizationContext and, thus, reference to the HttpContext.