Windows Workflow Foundation Introduction

Post on 25-Jun-2015

2.318 views 2 download

Tags:

description

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

Transcript of Windows Workflow Foundation Introduction

Windows Workflow Foundation

Mike TaultyDeveloper & Platform GroupMicrosoft LtdMike.Taulty@microsoft.com http://www.mtaulty.com

.NET Framework V3.0

Released in 2006Framework(Some) Tools

PlatformsServer 2003 Sp1Server 2008VistaXP Sp2

V3.5 coming with VS2008

Framework V3.0 introduces XAML

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

Workflow is a framework

Workflow Foundation

ToolsComponentsRuntimeServices

For building “workflow” into your own apps

Building, running Workflows

Workflow Foundation

Designer

Components

ActivityActivityActivityActivity

“Workflow Definition”(XAML, Code, Custom)

Host Process

Workflow Foundation

“Workflow Definition”(XAML, Code, Custom)

Services (Pluggable)

Runtime

Custom Activities are key

Activity

System.Workflow.ComponentModel.Activity

Property

Property

Property

override Execute(){ // Do your work

return( status );}

Building your own Activities

The Activity component model

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

Resources

www.netfx3.com

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

MSDN in the UK

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

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