摘要
为了解决.NET环境下的进程间通信问题,该文提出了一套基于WCF回调机制的进程间通信解决方案。文章首先对WCF服务组件的内部结构和使用特性作了简要介绍,然后对WCF服务解决进程间通信问题的具体方案作了详细说明,并通过对实测数据的对比分析,总结出了常用的WCF绑定方式:NetTcpBinding和WSDualHttpBinding的优选原则。实测结果表明,本文的方案是可行的。
To solve the inter-process communication issue under.NET environment,basing on the WCF callback mechanism,a solution for the inter-process is brought out.Firstly,the internal structure and usage features of WCF component are briefly described;then detailed solution to the inter-process communication by WCF service is specified.And with the comparison and analysis to test data,the optimized selection principle for the most usual WCF callback binding way: NetTcpBinding and WSDualHttpBinding are summarized.As test result says,the solution given in this paper is feasible.
作者
韩旭
祖先锋
HAN Xu,ZU Xian-feng(1.School of Automation,Nanjing University of Science and Technology,Nanjing 210094,China;2.First Aeronautical College of Airforce,Xinyang 464000,China)
出处
《电脑知识与技术》
2010年第5期3376-3377,共2页
Computer Knowledge and Technology
基金
国家自然科学基金(60904085)
关键词
WCF
进程间通信
回调
WCF
inter-process communication
callback