ASP.NET 3.5 Web 应用程序中的 Windows Workflow Foundation - 最佳方法
在 ASP.NET 3.5 Web 应用程序中使用 Windows Workflow Foundation 的最佳方法是什么?
就我而言,有多个工作流程(顺序),其中包括许多步骤,用户有权在任何这些步骤中保存并退出;状态必须被持久化,可能在 SQL Server 中。 将工作流程公开为 Web 服务是个好主意吗?我对工作流程知之甚少,只尝试过 wf 控制台应用程序。
请引导我正确的方向,我也想知道是否有任何特定且已建立的架构可以在 ASP.NET Web 应用程序中使用 wf。我们的 Web 应用程序(BLL、DAL、服务等)具有分层架构,我想知道我们可以在当前架构中的哪些位置合并工作流程。
非常感谢。
更新:首先感谢 Rubens Farias 帮助我。 我们仍然不确定哪种方法是最好的。
请提供任何使用工作流程的示例框架或示例 Web 应用程序
到目前为止...
1. 使用页面流应用程序块是个好主意吗
2. WF4 有很多变化,我应该等待吗那?
3. 或者按照 Rubes Farias 建议使用 WF请朋友们指导我,我很绝望:(
What is the best way to use Windows Workflow Foundation in ASP.NET 3.5 Web Application.
In my case there are several workflows(sequential) which includes numerous steps, user has the privilege to save and exit at any of these steps; the state must be persisted, possibly in SQL Server.
Exposing workflows as web service is good idea? I have very little idea about workflows and only tried out wf console applications.
Please guide me in right direction, also I would like to know is there any specific and established architecture to use wf in ASP.NET Web Apps. We have layered architecture for our web apps (BLL, DAL, Services etc) and I would like to know where we can incorporate workflows in current architecture.
Many thanks in advance.
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 suggestedPlease guide me friends, am desperate :(
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您绝对必须阅读此文档:基础:工作流服务
您可以添加开箱即用的持久性服务,以便您的工作流持久保存到 SQL Server 数据库中,并将它们公开为 WCF 服务(也可以使用 RESTfull 方法)。
You definitely must read this document: Foundations: Workflow Services
You can to add an out-of-box persistence service, so your workflows get persisted into a SQL Server database, and to expose them as WCF services (RESTfull approaches is also available).