Windows工作流基础在ASP.NET 3.5 Web应用程序 - 最好的办法 [英] Windows Workflow Foundation in ASP.NET 3.5 Web Application - Best Approach

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

问题描述

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

在我的情况下,有几个工作流程(顺序),其中包括许多步骤,用户可以在任何这些步骤的权限,保存退出;国家必须坚持,可能在SQL Server中。
暴露的工作流程作为Web服务是个好主意?我对工作流程,只有尝试了WF控制台应用程序很少的想法。

请指导我在正确的方向,我也想知道有没有在ASP.NET Web应用程序使用WF任何具体和建立的体系结构。我们有分层的体系结构为我们的Web应用程序(BLL,DAL,服务等),我想知道在哪儿能在当前的体系结构集成的工作流程。

提前非常感谢。


  

更新:谢谢鲁本斯·法里亚斯帮我出第一的位置。
  我们仍不能确定哪种方法将是最好的。结果
  请提供使用的工作流程结果的例子框架或web应用示例
  到目前为止...结果
  1.这是好主意,用页面流应用程序块结果
  2.有很多的变化在
WF4 ,我应该等待?结果
  3.或者使用WF作为乡巴佬法里亚斯建议


  
  

请指引我的朋友,我绝望:(



解决方案

您一定要把阅读本文件:的基础:工作流服务

您可以添加外的框中持久化的服务,让您的工作流程得到持续到SQL Server数据库,并把它们暴露为WCF服务(REST风格接近的也可)。

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 suggested

Please guide me friends, am desperate :(

解决方案

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

这篇关于Windows工作流基础在ASP.NET 3.5 Web应用程序 - 最好的办法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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