WF4:持久性和 DTC

发布于 2024-09-15 09:38:40 字数 413 浏览 2 评论 0原文

我正在构建一个工作流主机,它将管理 WorkflowApplication 实例。

实例将使用SqlWorkflowInstanceStore。

SqlWorkflowInstanceStore 的表和逻辑与我与持久性参与者一起写入的其他表和逻辑位于同一数据库中。

我没有使用 AppFabric。

我的问题是:我需要运行 DTC 吗?

注意:在 WF3/3.5 中,相同配置需要 DTC(不知道确切原因,似乎很奇怪,因为只有一台服务器和数据库)。

I'm building a workflow host that will manage WorkflowApplication instances.

Instances will use SqlWorkflowInstanceStore.

Tables and logic for SqlWorkflowInstanceStore are in the same database as my other tables and logic that I'm writing into with persistence participants.

I'm not using AppFabric.

My question is: do I need DTC running ?

Note: In WF3/3.5 for the same configuration DTC was needed (don't know exactly why, seems odd because there is only one server and database).

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

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

发布评论

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

评论(1

泪之魂 2024-09-22 09:38:40

您将创建与同一数据库的多个连接,并根据 这篇文章仍然将事务提升为 DTC。

You will be creating multiple connections to the same database and according to this article that does still elevate the transaction to the DTC.

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