gpt4 book ai didi

workflow - ASP.NET 3.5 Web 应用程序中的 Windows Workflow Foundation - 最佳方法

转载 作者:行者123 更新时间:2023-12-02 05:14:22 25 4
gpt4 key购买 nike

在 ASP.NET 3.5 Web 应用程序中使用 Windows Workflow Foundation 的最佳方式是什么。

在我的例子中,有几个工作流程(顺序),其中包括许多步骤,用户有权在这些步骤中的任何一个步骤中保存和退出;状态必须持久化,可能在 SQL Server 中。将工作流公开为 Web 服务是个好主意吗?我对工作流程知之甚少,只试用了 wf 控制台应用程序。

请指导我正确的方向,我也想知道在 ASP.NET Web 应用程序中是否有任何特定的和已建立的架构来使用 wf。我们为我们的网络应用程序(BLL、DAL、服务等)提供了分层架构,我想知道我们可以在当前架构中的何处合并工作流。

非常感谢。

Update: thank you Rubens Farias for helping me out in first place. We are still unsure which approach will be the best.
Please provide any example frameworks or sample webapplication which use workflow
So far...
1. Is it good idea to use Page Flow Application Block
2. There are lots of changes in WF4, should I wait for that?
3. Or use WF as Rubes Farias suggested

Please guide me friends, am desperate :(

最佳答案

您绝对必须阅读此文档:Foundations: Workflow Services

您可以添加开箱即用的持久性服务,这样您的工作流就会持久化到 SQL Server 数据库中,并将它们公开为 WCF 服务(RESTfull 方法也可用)。

关于workflow - ASP.NET 3.5 Web 应用程序中的 Windows Workflow Foundation - 最佳方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2107246/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com