Your SlideShare is downloading. ×
0
Practical Workflow Services
Practical Workflow Services
Practical Workflow Services
Practical Workflow Services
Practical Workflow Services
Practical Workflow Services
Practical Workflow Services
Practical Workflow Services
Practical Workflow Services
Practical Workflow Services
Practical Workflow Services
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Practical Workflow Services

849

Published on

An overview of using Workflow 4 Services to create long-running stateful services

An overview of using Workflow 4 Services to create long-running stateful services

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
849
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • About me
    ADERANT
    TAP – 18 months of WF
    Gave talks at Tech-Ed NZ 2010
  • Declarative – Focus on the WHAT rather than HOW

    Asynchronous – Value proposition somewhat compromised by the async feature in C#/VB vNext
  • Highly composable activity “tree”
  • Activity “Instances” are not usually dealt with but Workflow instances are

    Bookmarks are not really necessary to manipulate directly in WF services but is the mechanism by which the WCF runtime can interop with the WF

    Single “Scheduler” thread at any one time. This is the reason why async activities are so important. You want to keep the scheduler thread free.
  • Persistence provider for Sql server comes out of the box. Supports Sql Express and up.
  • No contract first in current release

    Host is the WorkflowServiceHost derived from the standard ServiceHost used in WCF

    Different types of correlation are possible though content-based correlation, introduced in WCF4, is the simplest.
  • Adds a new section to the IIS dashboard

    Allows control of instances and visibility of running instances as well as standard WCF services

    Event collection service forwards to a staging tables which is then normalised by some SQL jobs

    Powershell commands
  • About me
    ADERANT
    TAP – 18 months of WF
    Gave talks at Tech-Ed NZ 2010
  • Adds a new section to the IIS dashboard

    Allows control of instances and visibility of running instances as well as standard WCF services

    Event collection service forwards to a staging tables which is then normalised by some SQL jobs

    Powershell commands
  • Adds a new section to the IIS dashboard

    Allows control of instances and visibility of running instances as well as standard WCF services

    Event collection service forwards to a staging tables which is then normalised by some SQL jobs

    Powershell commands
  • Transcript

    1. Practical Workflow Services Peter Goodman
    2. Agenda  Why Workflow?  The Workflow Runtime  Workflow Services  Windows Server AppFabric  Demo
    3. Why Workflow?  Visual programming model  Declarative  Highly Customizable  Long running processes  Human based  Time based  Asynchronous
    4. The Workflow Runtime Activity Model  An Activity is the atomic unit of composition in a workflow  Pass data into an activity via Arguments  Store data in Variables  An activity with no parent is a Workflow
    5.  Each activity is scheduled by the runtime  Each activity execution produces an instance  Bookmarks pause execution and await some external influence  Thread, process, machine agile The Workflow Runtime Activity Execution
    6.  Persistence stores the state of the workflow  Tracking raises message events from workflow activities  Custom extensions The Workflow Runtime Extensions
    7.  Send and Receive activities  WCF Infrastructure  Each workflow definition is hosted as a WCF service  Correlation is used to find an instance of a workflow definition and the appropriate bookmark Workflow Services
    8.  IIS administration console UI  Workflow Management Service  Wakes up instances  Handles instance control requests  Event Collection Service  Forwards tracking events to Monitoring Store Windows Server AppFabric
    9. Demo The Approval Workflow
    10. Questions?
    11.  http://blog.petegoo.com  pete@petegoo.com Feedback

    ×