session-per-request implementation for WCF, NHibernate, and Ninject

前端 未结 3 1515
攒了一身酷
攒了一身酷 2021-02-08 02:25

I am trying to implement a session-per-request model in my WCF application, and I have read countless documents on this topic, but looks like there is not a complete demonstrati

3条回答
  •  后悔当初
    2021-02-08 02:45

    I have implemented per request session lifetime with the help of IDispatchMessageInspector. Probably you could implement custom lifetime manager for Ninject to achieve per web request.

提交回复
热议问题