E N D
1. Introduction to Windows Workflow Foundation
Microsoft Corp
2. Session Objectives &Key Takeaways Objectives
Introduce Windows Workflow Foundation
Show how workflow can be used in software
Demonstrate how easy workflow is to develop
Opportunities for WF in software
Many MS products and Customers using WF
3. Agenda Understanding and Defining Workflow
Building a Simple Workflow
Creating Activities with Designer
Examining Workflow Execution
Workflow Flexibility
Building a State Machine
Availability and Resources
4. .NET 3.0 (formerly WinFX)The Future of Managed Code
5. .NET Framework 3.0(Formerly WinFX)
6. What is a Workflow? A program declared as set of activities
Coordinates people and software
Has real-world control flow
Runs durably and transparently
Tolerates dynamic change
7. The Role of a Workflow Runtime How to write and execute programs that embody real-world processes?
Programs that run for days, months, years
"Purchase orders are confirmed the next day, and shipped within 30 days if not cancelled with 24 hours notice"
Programs that involve people, who may decide to change the process as it is unfolding
"We need to add an extra step in the business plan review"
Programs that are transparent
"What is the status of my order, and what are the next steps?"
How to make it easy to write these programs
In Visual Studio, with code
Using other applications, without code
8. A ISV developer building a line of business application chooses to use Windows Workflow Foundation within the business logic of their application.
An enterprise customer uses BizTalk Server to provide system workflow across their existing line of business applications and trading partners to reduce their cycle-times and increase business visibility in a high-volume environment. Microsofts Workflow Strategy To provide Windows Workflow Foundation as a part of the developer framework for Windows
and enterprise applications that build on top of Windows Workflow Foundation for specific scenarios.
9. Windows Workflow Foundation Single workflow technology for Microsoft
A framework for building workflow into apps
Part of .NET Framework 3.0 (formerly WinFX)
Makes declarative workflow a mainstream paradigm
10. Workflow Applications Workflow runtime is lightweight
Requires a CLR app domain (a host)
Relies upon pluggable services (e.g. persistence)
12. Authoring Modes
13. Activities An activity is a unit of work in a workflow
WF includes a set of general-purpose activities
Easy to write a custom activity
Class with an Execute method
15. Workflow Execution
16. Flexibility Visual C# and Visual Basic .NET offer a fixed, familiar set of ways to organize programs
if, for, while, foreach, { },
WF offers composite activities
Activities that contain other activities
Structured, state machine, rules-based, custom
18. Call to Action! MSDN Workflow Page
Download the Microsoft Visual Studio Extensions
Download 10 Hands-on Labs
msdn.microsoft.com/workflow
Forums
Ask questions in the forums
www.WindowsWorkflow.net/Forums
Community Site
Download samples, tools, and runtime service components
wf.netfx3.com
MSDN Virtual Labs
msdn.microsoft.com/virtuallabs/windowsworkflow