What is the difference between HybridHttpOrThreadLocalScoped & HttpContextScoped

前端 未结 1 655
深忆病人
深忆病人 2020-12-17 14:46

Simply, what is the difference between HybridHttpOrThreadLocalScoped & HttpContextScoped?

相关标签:
1条回答
  • 2020-12-17 15:23

    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.

    0 讨论(0)
提交回复
热议问题