Windows Workflow Foundation 4 (WF4) 重新托管
我一直在研究重新托管 WF4 工作流程以用于调试正在运行的工作流程的可能性。我见过的有关 WF4 Rehosting 的所有帖子和示例都使用 WPF 应用程序来最初托管工作流,然后在 ReHosting 中使用 WorkflowDesigner。有没有办法重新托管在非 WPF 应用程序(例如 ASP.Net MVC)中托管的工作流?
I've been looking at the possibility of ReHosting a WF4 Workflow to be used to debug running Workflows. All the posts and samples I've seen regarding WF4 Rehosting are using a WPF application to initially Host the Workflow, and then use the WorkflowDesigner in ReHosting it. Is there any way to Rehost a Workflow that was hosted in a non WPF application, like ASP.Net MVC?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
WorkflowDesigner 基本上是一个大型 WPF 控件,因此您无法将其托管在 ASP.NET 应用程序中。在 Silverlight 应用程序中也不能。如果您需要通过互联网应用程序公开设计器,则必须创建自己的设计器或使用终端服务器/Citrix 之类的东西。
The WorkflowDesigner is basically a big WPF control so you cannot host it in an ASP.NET application. Neither can you in a Silverlight application. If you need to expose the designer over an internet app you would have to either create your own designer or use something like terminal server/Citrix.
您可以使用 wfpbrowser 应用程序在浏览器中托管设计器。详细信息此处
You can host the designer in the browser using a wfpbrowserapplication. Details here
我刚刚在另一篇文章中读到,WF 4 将使应用程序中的设计器托管比现在更容易。我也有类似的要求,工作流设计器应该可供用户使用,以便他可以创建自己的工作流。在那篇文章中,这是因为 WF 4 完全基于标记并且不涉及任何代码……使得在应用程序中托管更容易……
I just about read in another post that WF 4 will make the hosting the designer in the application easier than it is today. I too have similar requirement that the workflow designer should be availabe to the user so that he can create his own workflows. This was reasoned in that post to the fact that the WF 4 is completely markup based and no code is involved... making it easier to host in the application....