Windows Workflow Foundation Introduction
-
Upload
ukdpe -
Category
Technology
-
view
2.327 -
download
2
description
Transcript of Windows Workflow Foundation Introduction
![Page 1: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/1.jpg)
Windows Workflow Foundation
Mike TaultyDeveloper & Platform GroupMicrosoft [email protected] http://www.mtaulty.com
![Page 2: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/2.jpg)
.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](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/3.jpg)
Framework V3.0 introduces XAML
![Page 4: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/4.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/5.jpg)
Workflow is a framework
![Page 6: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/6.jpg)
Workflow Foundation
ToolsComponentsRuntimeServices
For building “workflow” into your own apps
![Page 7: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/7.jpg)
Building, running Workflows
![Page 8: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/8.jpg)
Workflow Foundation
Designer
Components
ActivityActivityActivityActivity
“Workflow Definition”(XAML, Code, Custom)
![Page 9: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/9.jpg)
Host Process
Workflow Foundation
“Workflow Definition”(XAML, Code, Custom)
Services (Pluggable)
Runtime
![Page 10: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/10.jpg)
Custom Activities are key
![Page 11: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/11.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/12.jpg)
The Activity component model
![Page 13: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/13.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/14.jpg)
Resources
www.netfx3.com
Slides and code from this talk atmtaulty.com/downloads/vbug08.zip
![Page 15: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/15.jpg)
MSDN in the UK
Visit http://msdn.co.uk NewsletterEventsNugget VideosBlogs
![Page 16: Windows Workflow Foundation Introduction](https://reader035.fdocuments.net/reader035/viewer/2022062308/558b05dcd8b42a9d0f8b468e/html5/thumbnails/16.jpg)
© 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.