Presentation is loading. Please wait.

Presentation is loading. Please wait.

.NET Framework 3.0 Windows WorkFlow Foundation 工作流设计

Similar presentations


Presentation on theme: ".NET Framework 3.0 Windows WorkFlow Foundation 工作流设计"— Presentation transcript:

1 .NET Framework 3.0 Windows WorkFlow Foundation 工作流设计
徐磊 软件架构师 Superior Software for Windows

2 日程 基础内容 什么是工作流? 模块化 工作流场景 微软对工作流的支持 工作流组件的架构 演示 创建和调试工作流 在应用程序中使用工作流

3 什么是工作流组件 Windows WorkFlow Foundation
现实工作流程在.net framework中的体现 一系列模块化的活动,流程控制,通讯 工作流引擎,一系列的组件,工具和设计器 可以对非常复杂的商业逻辑进行建模,可以动态加载不同的逻辑 .net framework 3.0 (11月6日RTM)的一部分 问题1:Windows WorkFlow Foundation 的简称?

4 创建工作流 Demo – Hello World 环境要求: dotnetfx3.exe
Visual Studio 2005 Extensions for Windows Workflow Foundation (EN)

5 调试工作流 Demo – Hello World

6 模块化的好处在那里? 更加清晰的商业逻辑 更好的适应性,容易修改,XAML与代码分离 更好的人机交互性能 更容易进行可视化设计

7 工作流的类型 顺序工作流 Sequential Workflows 状态工作流 State Machine Workflows
数据驱动工作流 Data-Driven Workflows 顺序工作流例子:支持邮件发送程序 状态工作流:软件缺陷跟踪系统

8 Windows SharePoint Services
微软对工作流的支持 Windows Vista Windows SharePoint Services 内置工作流:文档审核系统 使用SharePoint设计器定制工作流 使用Visual Studio定制工作流 Microsoft Speech Server BizTalk Server (future version use XAML) System Center Server Identity Integration Server And more …

9 工作流组件的体系结构 WorkFlow Design Time Tools WorkFlow Runtime 预定义的活动 自定义的活动
Persistence Services Transaction Services Tracking Services Scheduling Services

10 Persistence Service

11 Transaction Services

12 Windows Form Application
工作流的应用 Windows Form Application 使用独立线程 异步 ASP.NET Application 使用应用程序线程 同步 Web.config 配置

13 工作流的应用 Demo

14 工作流与外部程序间的通讯 WorkflowRuntime ExternalDataExchangeService Interface
EventArgs [Serializable] Activity CallExternalMethod Activity Listen Activity HandleExternalEvent Activity

15 工作流与外部程序间的通讯 PaymentProcessingService paymentProcessing;
paymentProcessing = new PaymentProcessingService(); workflowRuntime.AddService(paymentProcessing); ExternalDataExchangeService dataExchangeService; dataExchangeService = new ExternalDataExchangeService(); workflowRuntime.AddService(dataExchangeService); PaymentProcessingService paymentProcessing; paymentProcessing = new PaymentProcessingService(); dataExchangeService.AddService(paymentProcessing);

16 2 things leixu@ssw.com.au 问题1:工作流按照所支持的不同场景,可以分为哪几类,分别是什么?
问题2:工作流中的Persistence Service的功能是什么?

17 资源 .NET Framework 3.0 Workflow http://wf.netfx3.com/
Free Training WorkFlow Virtual Lab Webcast Windows Vista 领航系列课程(4):微软工作流技术战略

18 Thank You! .NET is Cool


Download ppt ".NET Framework 3.0 Windows WorkFlow Foundation 工作流设计"

Similar presentations


Ads by Google