Windows Workflow Foundation Introduction

16
Windows Workflow Foundation Mike Taulty Developer & Platform Group Microsoft Ltd [email protected] http://www.mtaulty.com

description

This is an introduction to Windows Workflow Foundation which is part of the .NET framework

Transcript of Windows Workflow Foundation Introduction

Page 1: Windows Workflow Foundation Introduction

Windows Workflow Foundation

Mike TaultyDeveloper & Platform GroupMicrosoft [email protected] http://www.mtaulty.com

Page 2: Windows Workflow Foundation Introduction

.NET Framework V3.0

Released in 2006Framework(Some) Tools

PlatformsServer 2003 Sp1Server 2008VistaXP Sp2

V3.5 coming with VS2008

Page 3: Windows Workflow Foundation Introduction

Framework V3.0 introduces XAML

Page 4: Windows Workflow Foundation Introduction

Declarative Development - XAML

eXtensible Application Markup Language

XAML usageCompiled to produce executable codeDynamically loaded (parsed or pre-parsed)

Calculator c = new Calculator();Multiply m = new Multiply();m.P1 = 10;m.P2 = 20;c.Operations.Add(m)

Code

<Calculator> <Operations> <Multiply P1=“10” P2=“20”/></Operations></Calculator>

XAML

Page 5: Windows Workflow Foundation Introduction

Workflow is a framework

Page 6: Windows Workflow Foundation Introduction

Workflow Foundation

ToolsComponentsRuntimeServices

For building “workflow” into your own apps

Page 7: Windows Workflow Foundation Introduction

Building, running Workflows

Page 8: Windows Workflow Foundation Introduction

Workflow Foundation

Designer

Components

ActivityActivityActivityActivity

“Workflow Definition”(XAML, Code, Custom)

Page 9: Windows Workflow Foundation Introduction

Host Process

Workflow Foundation

“Workflow Definition”(XAML, Code, Custom)

Services (Pluggable)

Runtime

Page 10: Windows Workflow Foundation Introduction

Custom Activities are key

Page 11: Windows Workflow Foundation Introduction

Activity

System.Workflow.ComponentModel.Activity

Property

Property

Property

override Execute(){ // Do your work

return( status );}

Building your own Activities

Page 12: Windows Workflow Foundation Introduction

The Activity component model

Page 13: Windows Workflow Foundation Introduction

SummaryWorkflow Foundation

Framework for building workflow capabilities into your own applicationsTools, Components, Runtime, Pluggable Services

Released with .NET Framework V3.0Server 2003 Sp1, Server 2008, Vista, XP Sp2

Updates coming in .NET Framework V3.5

Page 14: Windows Workflow Foundation Introduction

Resources

www.netfx3.com

Slides and code from this talk atmtaulty.com/downloads/vbug08.zip

Page 15: Windows Workflow Foundation Introduction

MSDN in the UK

Visit http://msdn.co.uk NewsletterEventsNugget VideosBlogs

Page 16: Windows Workflow Foundation Introduction

© 2007 Microsoft Ltd. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the

date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.