开发者

Is WCF threading model different from the old ASMX service threading model?

开发者 https://www.devze.com 2023-02-16 04:10 出处:网络
ASMX runs just like you\'d access a web page use/reuse IIS thread. What开发者_运维知识库 about WCF ? Do I get a different instance & thread(old or new is irrelevant)per request (assume no session)

ASMX runs just like you'd access a web page use/reuse IIS thread. What开发者_运维知识库 about WCF ? Do I get a different instance & thread(old or new is irrelevant) per request (assume no session) ?


WCF is more configurable than ASMX, and may run in hosts other than IIS.

I think you can assume that threads will come from the thread pool.

Instancing will be controlled by the configured InstanceContextMode of the service.

Re-entrancy is controlled by the configured ConcurrencyMode of the service.

0

精彩评论

暂无评论...
验证码 换一张
取 消