Windows Workflow Foundation 4 和 ASP.NET MVC
我们正在评估 Windows Workflow Foundation 4 在基于 MVC 3 的 Web 应用程序中的使用。我们希望为不同的项目创建灵活的订单工作流程。
有人知道有关此类应用程序的一般架构或实践实验室的详细信息吗?
一些具体的问题是:
- 如何从工作流程中激活特定的控制器/操作?
- 工作流和 Web 应用程序(事件、WCF 服务...)之间通信的最佳方式是什么?
We are evaluating Windows Workflow Foundation 4 to use in MVC 3 based Web Applications. We would like to create flexible order workflows for different projects.
Does anybody know good information about the general architecture or hands-on-labs for this kind of application?
Some concrete questions would be:
- how can you activate a specific controller/action from the workflow?
- what is the best way to communicate between the workflow and the web application (events, wcf services, ...)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是一篇关于如何开始在 ASP.NET MVC 应用程序中使用 WF4 的好文章。
将持久的 WF4.0 工作流程与mvc
This is a nice article on how to start working with WF4 in your ASP.NET MVC app.
Integrating a persisted WF4.0 workflow with mvc
另一个视频示例位于以下链接。 (注意:链接中附加的代码可能无法执行,但当您研究代码和观看视频时,它会给出一些概念)
https://channel9.msdn.com/Shows/Workflow-TV/endpointtv-WF4 -in-the-Real-World-Microsoft-Support-ASPNET-MVC-Wizard-Framework
此链接显示了我们如何使用临时数据在请求之间保留数据。由于解释的内容比较长,我这里就不再重复了。
Another example with video is at below link. (Note: The code attached in the link might not be executable, but it will give some concepts when you study the code and watch the video)
https://channel9.msdn.com/Shows/Workflow-TV/endpointtv-WF4-in-the-Real-World-Microsoft-Support-ASPNET-MVC-Wizard-Framework
This link is showing how we can preserve the data between requests using tempdata. Since it is a large explanation, I am not repeating the same again here.
遗憾的是,此视频似乎已关闭,但 docs 似乎试图向您展示一种方法!
源自 2009 年的旧帖子/回复< /a>.可以在 CodeProject.com 上找到替代方案,也被引用于 这个具有更长的资源列表。
Sadly, the videos for this seem to be down but the docs seem to try to show you a way!
Sourced from an old post/response from 2009. An alternative is found on CodeProject.com, which is also quoted on this one with a longer list of resources.