UseTaskFriendlySynchronizationContext setting for Identity Framework

Feb 12, 2015 at 4:14 PM
Edited Feb 12, 2015 at 4:15 PM

I noticed the Identity framework samples never set the following setting to TRUE in the Web.config under appSettings:


However, the identity framework does a lot of task based asynchronous operations.

We have been noticing occasional thread deadlocks in our production servers since moving to ASP .NET Identity and I am wondering if this is occurring because we have not set UseTaskFriendlySynchronizationContext to TRUE in web.config?