Windows Workflow Foundation 4 (WF4) ReHosting

2019-04-13 16:07发布

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?

3条回答
疯言疯语
2楼-- · 2019-04-13 16:46

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.

查看更多
在下西门庆
3楼-- · 2019-04-13 17:00

You can host the designer in the browser using a wfpbrowserapplication. Details here

查看更多
别忘想泡老子
4楼-- · 2019-04-13 17:05

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

查看更多
登录 后发表回答