This is a two part question:
Can someone provide a list of the ASP.NET/.NET properties that are typically thread local that flow with ExecutionContext?
The best resource for this is ExecutionContext vs. SynchronizationContext by Stephen Toub. There is no list of properties like what you're looking for.
ASP.NET actually uses SynchronizationContext
to flow HttpContext.Current
, and treats Thread.CurrentPrincipal rather oddly.
You can add your own context using LogicalSetData
/LogicalGetData
. However, you should only store immutable data. I document this on my blog.