WCF:我是否需要在两端使用WCF进行流程通信? [英] WCF: Do I need to use WCF on both ends for process communications?

查看:75
本文介绍了WCF:我是否需要在两端使用WCF进行流程通信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个应用程序来读取数据并将其实时传递到Excel工作表。

我可以使用Windows Communication Foundation将数据推送到该Excel应用程序吗?
<或者两端是否必须使用WCF进行相互通信?



谢谢,

解决方案

首先,WCF问题属于:
http://social.msdn.microsoft.com/forums/en-US/wcf/threads/

WCF可以以兼容的方式设置(使用WS *或SOAP协议) ,因此双方都不需要WCF。话虽如此,我不确定WCF是否适合您的问题。

可以使用COM或ADO修改Excel工作表(在同一台机器上)。要通过网络与Excel通信,您必须编写一个通信组件,该组件可以是Excel加载项,也可以是在同一台计算机上运行的单独程序,然后使用COM / ADO。

- 史蒂夫


I am writing an application that reads data and pass it on to an Excel sheet in real time.

Can I use Windows Communication Foundation to push data to that Excel application?

or do both ends have to be using WCF to communicate with each other ?



Thanks,

解决方案

First off, WCF questions belong here:
  http://social.msdn.microsoft.com/forums/en-US/wcf/threads/

WCF can be set up in a compatible manner (using WS* or SOAP protocols), so WCF isn't necessary for both sides. Having said that, I'm not sure if WCF is the right solution for your problem.

Excel sheets may be modified (on the same machine) using COM or ADO. To communicate with Excel over the network, you'd have to write a communication component that is either an Excel add-in, or a separate program running on the same computer that would then use COM/ADO.

        -Steve


这篇关于WCF:我是否需要在两端使用WCF进行流程通信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆