Windows Workflow Foundation
Windows Workflow Foundation(WF),是一项微软技术,用于定义、执行、管理工作流程(workflows)。目前已原生于Windows Vista作业系统,并可以安装在 Windows XP SP2 和 Windows Server 2003 作业系统。
创作流程
工作流程包括活动。开发人员可以编写自己的特定域(domain-specific)的活动,然后利用他们在工作流程。WF 也提供了一般用途活动,涵盖若干控制流结构。
Hello World
- C#
using System;
using System.Linq;
using System.Activities;
using System.Activities.Statements;
namespace HelloWorkflow
{
class Program
{
static void Main(string[] args)
{
System.Activities.WorkflowInvoker.Invoke(new Workflow1());
System.Console.ReadKey();
}
}
}
|
书籍
- Essential Windows Workflow Foundation, Dharma Shukla/Bob Schmidt, Addison-Wesley Professional, 13 October 2006。ISBN 0-321-39983-8
- Foundations of WF ISBN 1-59059-718-4, Brian R. Myers, Apress, 23 October 2006。ISBN 1-59059-718-4
- Pro WF: Windows Workflow in .NET 3.0, Bruce Bukovics, Apress, 19 February 2007。ISBN 1-59059-778-8
- Professional Windows Workflow Foundation ISBN 0-470-05386-0, Todd Kitta, Wrox, 12 March 2007。ISBN 0-470-05386-0
- Microsoft Windows Workflow Foundation Step by Step, Kenn Scribner, Microsoft Press, 28 February 2007。ISBN 0-7356-2335-X