Are concurrency issues possible when using the WCF Service Behavior attribute set to ConcurrencyMode.Multiple and InstanceContextMode.PerCall?

后端 未结 4 835
说谎
说谎 2021-01-30 07:45

We have a WCF service that makes a good deal of transactional NHibernate calls. Occasionally we were seeing SQL timeouts, even though the calls were updating different rows and

4条回答
  •  -上瘾入骨i
    2021-01-30 08:01

    I think its all depends on the requirement. If we are going to call the same service so many times then better we can use InstanceContextMode is Single and concurrencymode is multiple.

提交回复
热议问题