3 ms·
You want ConcurrentDictionary[1]... the worst one I saw was attaching information keyed off the thread id. Note: in ASP.Net lifecycle there are no guarantees t
by tracker1 10y ago
You want ConcurrentDictionary[1]... the worst one I saw was attaching information keyed off the thread id. Note: in ASP.Net lifecycle there are no guarantees that two events (load, prerender, render, etc) will be performed on the same thread from the pool.
Wound up seeing some REALLY weird issues... HttpContext.Current.Items is your friend there.
https://msdn.microsoft.com/en-us/library/dd287191(v=vs.110).aspx https://msdn.microsoft.com/en-us/library/dd287191(v=vs.110)....