在web应用中,

何时创建DocumentStore?何时创建DocumentSession?

从其所带的Sample中可以看到:

  • 在Application_Start时创建 DocumentStore
  • 在BeginRequest时创建DocumentSession
  • 在EndRequest时销毁DocumentSession

相关文章:

  • 2022-12-23
  • 2021-09-18
  • 2021-10-03
  • 2022-12-23
  • 2021-04-07
  • 2021-08-02
猜你喜欢
  • 2021-04-29
  • 2022-12-23
  • 2022-01-10
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案