本文介绍了了解 WCF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能指点我一个资源,用图片和简单的代码片段来解释 WCF.我厌倦了谷歌搜索并在所有搜索结果中找到相同的ABC"文章.

Could anyone point me to a resource that explains WCF with pictures and simple code snippets. I am tired of googling and finding the same "ABC" articles in all search results.

推荐答案

WCF 是一种非常复杂的技术,在我看来,它的文档非常少.启动和运行它非常容易,但是运行大型应用程序的性能调整可能非常复杂,并且需要大量的反复试验.有一天一切正常,然后您发现只有一个 Channel 一直在等待新连接,并且您需要在自定义绑定上调整配置设置以允许更多通道等待,以便调用不'在使用一个频道和启动下一个频道时不会在中间失败.

WCF is a very complex technology that in my opinion is very poorly documented. It is incredibly easy to get up and running with, but the performance tuning to run a large scale app can be incredibly complicated and a lot of trial and error. One day everything is working fine and then you find out that only a single Channel is kept waiting for a new connection and that there is a config setting that you need to adjust on a custom binding to allow more channels to be waiting so that calls don't fail inbetween when a channel is used and the next channel is spun up.

总的来说,Nicholas Allen 的博客是信息的金矿.然而,Windbg 一直是我最好的朋友,试图解释来自 WCF 的一些非常奇怪的行为.

In general Nicholas Allen's blog is a gold mine of information. However Windbg has been my best friend in trying to explain some very bizarre behavior coming from WCF.

这篇关于了解 WCF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 21:25