You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kenneth Carter edited this page Jul 14, 2020
·
4 revisions
ThreadStaticAttribute, is not a magic bullet that will make your code thread safe. But, it is a good place to start when interference from another thread can have catastrophic results. However, there are some conditions while running asynchronous code where it is better to track the multiple threads and there instances. SharedDbConnectionScope, is an example of this.