Created
February 22, 2017 09:22
-
-
Save thdotnet/8e07cf73026bafddb3491919c9dabc70 to your computer and use it in GitHub Desktop.
Fix HttpContext.Current sometimes null
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sometimes the root cause of HttpContext.Current null is the missing <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" /> in the web.config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment