[英]Real World Examples of WF and WPF Interaction
I'm looking for some good real-world examples of interaction between Windows Presentation Foundation and Workflow Foundation. 我正在寻找Windows Presentation Foundation和Workflow Foundation之间交互的一些很好的实际例子。 Most of the WF tutorials I see demonstrate use within console applications.
我看到的大多数WF教程都在控制台应用程序中使用。 I'm more curious about applications that use a rich WPF interface and WF.
我对使用丰富的WPF接口和WF的应用程序更感兴趣。 Particularly if they allow user defined workflows (allow users to design and run their own workflows on the fly).
特别是如果它们允许用户定义的工作流程(允许用户动态设计和运行他们自己的工作流程)。
I'm not sure what exactly you're looking for, but here are some links to information about actual real world applications using Workflow in desktop (WPF) applications in one way or another: 我不确定你究竟在寻找什么,但是这里有一些链接,以某种方式使用桌面(WPF)应用程序中的Workflow实际真实应用程序的信息:
Let me take the example of trying to make two workflows communicate with each other. 让我举一个例子,试图让两个工作流程相互通信。
So, in short, for the simplistic scenario of trying to make two workflows communicate, you need to have a good handle on the following: 因此,简而言之,对于尝试使两个工作流程进行通信的简单方案,您需要对以下内容进行良好处理:
*Writing windows apps (for the host), *Threading, *WCF, *OOP Concepts, *All concepts of serialization, *Plenty of hooking up and non-intuitive details of WF itself, *Ninja debugging skills. *编写Windows应用程序(用于主机),*线程,* WCF,* OOP概念,*所有序列化概念,*大量连接和WF本身的非直观细节,*忍者调试技能。
Source:http://blah.winsmarts.com/2008-2-I've_been_here_before.aspx 出处:http://blah.winsmarts.com/2008-2-I've_been_here_before.aspx
Here is a sample project I did, which combines WF and WPF to simulate a ATM machine. 这是我做的一个示例项目,它结合了WF和WPF来模拟ATM机。 The code works on some issues like handling the bookmarks, how to keep the workflow alive, and how to manipulate the UI from the workflow.
该代码适用于处理书签,如何使工作流保持活动以及如何从工作流操纵UI等一些问题。
The question is pretty vague but here is a possible awnser in this blog post I wrote. 这个问题非常模糊,但在我写的这篇博客文章中, 这是一个可能的问题。 Basically I am rehosting the workflow designer to let end users change workflows as needed and let them run them right there and then.
基本上我正在重新设置工作流设计器,让最终用户根据需要更改工作流,然后让他们在那里运行它们。 Of course you question could mean pretty much anything, like how to call a workflow service from a WPF form.
当然,你的问题可能意味着什么,比如如何从WPF表单调用工作流服务。
这是一种自我推销,因为链接是我的, 但看看 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.