views:

153

answers:

1

Simply, what is the difference between HybridHttpOrThreadLocalScoped & HttpContextScoped?

+2  A: 

HttpContext always uses HttpContext (and fails if not running within a web request). HybridHttpOrThreadLocalScoped uses the HttpContext when available - if not, it falls back to caching per thread.

Joshua Flanagan