A Lap Around WF

Uploaded from authorPOINTLite
Views:
 
Category: Education
     
 

Presentation Description

No description available.

Comments

Presentation Transcript

An Intro to WF: 

An Intro to WF Brian H. Prince Quick Solutions

Not a big slide guy,: 

Not a big slide guy,

…only have about 100 slides: 

…only have about 100 slides

Who Am I? <watch out for the ego slides />: 

Who Am I? <watch out for the ego slides />

Brian H. Prince: 

Brian H. Prince

Quick Solutions: 

Quick Solutions

Application Development Solutions Practice Manager: 

Application Development Solutions Practice Manager Intergalactic

We build cool stuff: 

We build cool stuff

Co-Director of Central Ohio .NET Developers Group: 

Co-Director of Central Ohio .NET Developers Group

MVP <Architect />: 

MVP <Architect />

Co-Founder of CodeMash: 

Co-Founder of CodeMash

MS CSD VTS: 

MS CSD VTS The longest program title I have ever been involved with Microsoft Connected Systems Division Virtual Technology Specialist

4920: 

4920

WF: 

WF

NOT WWF!: 

NOT WWF!

Don’t Fear These Guys: 

Don’t Fear These Guys

Fear the Panda!: 

Fear the Panda!

Part of .NET Framework v3: 

Part of .NET Framework v3

Versioned Chaos: 

Versioned Chaos

Where did it come from?: 

Where did it come from?

Single Workflow Technology for Windows: 

Single Workflow Technology for Windows

A Framework to build into YOUR applications: 

A Framework to build into YOUR applications

WF is a framework, not a server: 

WF is a framework, not a server

Bring Workflow to the Mainstream: 

Bring Workflow to the Mainstream

Biggest difference with BizTalk Server: 

Biggest difference with BizTalk Server

You could build BizTalk Server with WF: 

You could build BizTalk Server with WF

Workflow is…: 

Workflow is… A set of activities that coordinate people or software

Types of Workflow…: 

Types of Workflow… Rules-driven Activities Step2 Step1 Rule1 Rule2 Data Rules + data state drive processing order Data-driven Simple Conditions, complex Policies Constrained Activity Group State Machine Workflow Event Event External events drive processing order Reactive, event-driven Skip/re-work, exception handling Graph metaphor Sequential Workflow Step1 Step2 Sequential structure prescribes processing order Prescriptive, formal Automation scenarios Flowchart metaphor

Slide29: 

Building a Workflow

Long Running and Stateful: 

Long Running and Stateful

Flexible Flow Control: 

Flexible Flow Control

Transparency: 

Transparency

Structure: 

Structure Host Process Windows Workflow Foundation Runtime Engine A Workflow An Activity Runtime Services Base Activity Library Custom Activity Library Visual Designer

Ways to define workflows: 

Ways to define workflows .NET assembly ctor defines workflow Markup Only “Declarative” XAML Markup and Code Code Only Application Generated XAML XML defines workflow structure logic and data flow XML defines workflow Code-beside defines extra logic Code creates workflow in constructor XAML App creates activity tree and serializes Workflow Compiler wfc.exe C#/VB Compiler

Activity Basics: 

Activity Basics

Activities are the building blocks of a workflow: 

Activities are the building blocks of a workflow

Unit of Reuse: 

Unit of Reuse

Composite activities contain other activities: 

Composite activities contain other activities

Base Activity Library: 

Base Activity Library

Custom Activities: 

Custom Activities

Activities are just classes: 

Activities are just classes

Workflows are actually activities as well : 

Workflows are actually activities as well

Workflow as Code or XAML: 

Workflow as Code or XAML Imports System.Workflow.Activities Public Class MyWorkflow Inherits SequentialWorkflow … End Class <?Mapping XmlNamespace="Activities" ClrNamespace="System.Workflow.Activities" Assembly="System.Workflow.Activities" ?> <SequentialWorkflow x:Class="MyWorkflow" xmlns="Activities" xmlns:x="Definition"> … </SequentialWorkflow>

Slide44: 

A Workflow

Thoughts.flush();: 

Thoughts.flush(); brian.h.prince@gmail.com or bprince@quicksolutions.com or V-bripri@microsoft.com or http://brianhprince.blogspot.com Thank you for your time!