Stef Sewell & Peter GoodmanArchitect, Lead EngineerADERANT
Getting Started with Workflow in .NET 4
SESSION CODE: DEV208
3
“Runtime-Mediated Code Rendezvous”
Before we begin…Is this session for you?
4
AgendaWorkflow Basics
What is a workflow? Why would I use a workflow? How do I create a workflow? How do I execute a workflow? How do I test and debug a workflow? Anything else I need to know?
5
AgendaWorkflow Services
What is a workflow service? Why would I use a workflow service? How do I create a workflow service? How do I host a workflow service? How do I monitor and manage a workflow service? Anything else I need to know?
6
What is a workflow?
7
8
A workflow is a program
9
A workflow is a declarative program
10
A workflow runtime is responsible for scheduling the execution of the
steps
11
A workflow is composed of an ordered sequence of activities
12
An activity is the atom in the workflow universe.
13
A workflow has data which is captured as variables
14
An activity has arguments to allow data to flow in and out
15
Why would I use a workflow?
16
You want to automate existing business processes
17
You have long running logical processes that are episodic in
nature.
18
You want to provide an intuitive customization model as part of
your solution
19
How do I create a workflow?
20
DEMO: Business ProcessLeave Request
21
DEMO: The Magic Eight BallPart 1 – Create & Execute
22
How do I debug test a workflow?
23
DEMO: The Magic Eight BallPart 2 – Test & Debug
24
Workflow BasicsAnything else I need to know?
Lots that we don’t have time for so check out:Total Noobs’ Guide to WF4 http://www.msteched.com/2010/NorthAmerica/DEV207 Building Activities for WF4 http://www.msteched.com/2010/NorthAmerica/ASI303 WF4 Inside Out [‘Runtime-Mediated Code Rendezvous’]
http://www.microsoftpdc.com/2009/P09-22 The .NET Endpoint http://blogs.msdn.com/b/endpoint/
25
Workflow BasicsAnything else I need to know?
A First Look at WCF and WF in .NET 4 http://www.msteched.com/2009/NewZealand/SOA206Stef’s Blog: http://web.me.com/stefsewell/TechEd2010 Pete’s Blog: http://blog.petegoo.com/
26
AgendaWorkflow Basics
What is a workflow? Why would I use a workflow? How do I create a workflow? How do I execute a workflow? How do I test and debug a workflow? Anything else I need to know?
27
AgendaWorkflow Services
What is a workflow service? Why would I use a workflow service? How do I create a workflow service? How do I host a workflow service? How do I monitor and manage a workflow service? Anything else I need to know?
28
What is a workflow service?
29
A WCF service whose implementation is a workflow
30
Why would I use a workflow service?
31
Service logic easily modeled as a workflow
32
Service encapsulates a long running process
33
How do I create a workflow service?
34
DEMO: The Magic Eight Ball ServicePart 1 – Create & Host
35
How do I monitor and manage a workflow service?
36
DEMO: The Magic Eight Ball ServicePart 2 – Monitor & Manage
37
Workflow ServicesAnything else I need to know?
Lots that we don’t have time for so check out:DEV306: Taming SOA Deployments using Window Server AppFabric (Wed, 10:40 – 11:40)Declarative N-Tier Applications using WPF, WCF and WF http://www.msteched.com/2009/NewZealand/SOA306Developer’s Introduction to Windows Workflow Foundation (WF) in .NET 4 http://msdn.microsoft.com/en-us/library/ee342461.aspx Windows Server AppFabric http://msdn.microsoft.com/en-us/windowsserver/ee695849.aspxWorkflow Service and Windows Server AppFabric
38
AgendaWorkflow Services
What is a workflow service? Why would I use a workflow service? How do I create a workflow service? How do I host a workflow service? How do I monitor and manage a workflow service? Anything else I need to know?
39
DEV306: Taming SOA Deployments using Window Server AppFabric (Wed, 10:40 – 11:40)
Related Content
40
Please submit Feedback
41
Questions ?
© 2008 Microsoft Corporation. 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.