我应该通过ExternalDataExchange 还是使用WCF 与我的Windows Workflow Host 进行通信?

发布于 2024-07-21 16:16:14 字数 167 浏览 3 评论 0原文

我知道我可以使用接口上的ExternalDataExchange 与我的Windows 工作流主机(从我的工作流)进行通信。 或者,我可以使用 .NET 3.5 提供的 SendActivity 使用 WCF 与我的主机进行通信。

我不确定应该选择哪种方法。 对这些方法的优缺点有什么建议吗?

I know I can communicate with my Windows Workflow host (FROM my workflow) using either the ExternalDataExchange on an interface. Or I can communicate with my host using WCF using the SendActivity provided with .NET 3.5.

I am not sure which method I should choose. Any suggestions on the pro's and con's of these approaches?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

人间不值得 2024-07-28 16:16:14

在我们的应用程序中,我们使用 IIS 应用程序池中的 WF。 至于通信,我们使用 WCF(SendActivities 或基于合约的自定义代理)。 只要你能引用该程序集,它就很有魅力。

如果您想与 WF 主机通信,您很可能需要编写更多代码。

In our application we use WF from within an IIS appl pool. As for communication, we use WCF (SendActivities or custom proxies based on the contract). As long as you can reference the assembly, it works like a charm.

If you want to communicate with the WF host, you will most likely need to code more.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文