ASP.NET MVC 5 - can the current thread change during single http request?

71 Views Asked by At

Sometimes (randomly) I'm faced with my [ThreadStatic] property is null, though it is definitely initialized in the beginning of the request.

1

There are 1 best solutions below

0
gustav On

Apparently yes, the thread can change during single http request.

asp.net mvc3 request thread affinity

ThreadStaticAttribute in ASP.NET