ASP.NET 3.5 Web 应用程序中的 Windows Workflow Foundation - 最佳方法 [英] Windows Workflow Foundation in ASP.NET 3.5 Web Application - Best Approach

查看:30
本文介绍了ASP.NET 3.5 Web 应用程序中的 Windows Workflow Foundation - 最佳方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

What is the best way to use Windows Workflow Foundation in ASP.NET 3.5 Web Application.

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

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.

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

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.

非常感谢.

更新:首先感谢 Rubens Farias 帮助我.我们仍然不确定哪种方法是最好的.
请提供任何使用工作流的示例框架或示例网络应用程序
到目前为止...
1. 使用页面流应用程序块是个好主意吗
2.WF4有很多变化,要不要等那个?
3. 或者像 Rubes Farias 建议的那样使用 WF

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 :(

推荐答案

您绝对必须阅读此文档:基础:工作流服务

You definitely must read this document: Foundations: Workflow Services

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

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).

这篇关于ASP.NET 3.5 Web 应用程序中的 Windows Workflow Foundation - 最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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