开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜