Windows Workflow Foundation in ASP.NET 3.5 Web Application - Best Approach

这一生的挚爱 提交于 2019-12-10 18:05:15

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/2107246/windows-workflow-foundation-in-asp-net-3-5-web-application-best-approach

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!