23 votes
Accepted

Thread scope of switchers, disablers and contexts

In general they all seem to be using Sitecore.Context.Items which is a static Sitecore.Caching.ItemsContext object. ItemsContext uses the curret HttpContext if it's available (making it request-...
  • 3,235
9 votes

Thread scope of switchers, disablers and contexts

Fine, I'll be the one to jump in and tell you what no one wants to hear ;-) Sitecore.Context is an anti-pattern I've argued this before, and I stand by it. The problems around this particular ...
  • 24.5k

Only top scored, non community-wiki answers of a minimum length are eligible