ConfigureAwait
only has effects on code running in the context of a SynchronizationContext
which ASP.NET Core doesn’t have (ASP.NET “Legacy” does).
General purpose code should still use it because it might be running with a SynchronizationContext
.
More Related Contents:
- How to specify the port an ASP.NET Core application is hosted on?
- NetworkStream.ReadAsync with a cancellation token never cancels
- implement RSA in .NET core
- VS 2015. Setting right target framework for ASP.NET 5 web project
- Build .exe file in .NET Core RC2
- .NET Core dependency injection -> Get all implementations of an interface
- How do I test an async method with NUnit (or possibly with another framework)?
- .Net Core MemoryCache PostEvictionCallback not working properly
- Is project.json deprecated?
- InvalidOperationException: Unable to resolve service for type ‘Microsoft.AspNetCore.Http.IHttpContextAccessor’
- What do Option Strict and Option Explicit do?
- How can I determine if a .NET assembly was built for x86 or x64?
- Using async/await for multiple tasks
- .Net HttpWebRequest.GetResponse() raises exception when http status code 400 (bad request) is returned
- How exactly does the “Specific Version” property of an assembly reference work in Visual Studio?
- Best way to hide a window from the Alt-Tab program switcher?
- “The resource cannot be found.” error when there is a “dot” at the end of the url
- Conditions when finally does not execute in a .NET try-finally block
- How to make Entity Framework Data Context Readonly
- WebClient vs. HttpWebRequest/HttpWebResponse
- Is there any GAC equivalent for .NET Core?
- Using scripts in a master page with ASP.NET MVC
- How to set and change the culture in WPF
- How to validate smtp credentials before sending mail?
- Regex replacement capture followed by digit
- How to locate fuslogvw.exe on my machine?
- How to find the main() entry point in a VB.Net winforms app?
- What should be the lifetime of an NHibernate session?
- Can we get the UAC prompt to show only once?
- .net: How to parse a date with this format: 08 Feb 2011 06:46