Download presentation
Presentation is loading. Please wait.
1
Kenny Wolf Architect WCF and WF http://kennyw.com/
3
Host (.exe, IIS/WAS,.NET Services, …) WF Runtime Extensions Tracking Persistence … … Tooling VS Designer VS Debugger Rehosted Designer Workflow Activity Library
4
Activities are the primitive abstraction for behaviorActivities are composable with other ActivitiesActivities have user-defined Variables for data storageActivities bind Arguments to in-scope Variables Activities define Arguments to declare the type of data that can flow into or out of an Activity State Machine Parallel Sequence Send Message Delay Receive Message Generate Order InArgument OutArgument InArgument OutArgument Process Order Send Report Variables
5
Control Flow Activities FlowchartSequentialState MachineRules Custom Activities SharePointDynamics Systems Center HPC Team Foundation Server Base Activity Library WCF Messaging DatabasePowerShell Error Handling Expressions Interop Utilities WF Primitives BPEL
8
Code void GetPassword(string password) { bool haveUser = State.Get("haveUser"); if (!haveUser) { throw new Exception(); } string user = State.Get("User"); Validate(user, password); } Code void GetPassword(string password) { Validate(user, password); } Code void GetUser(string user) { // validate haven't gotten user yet bool haveUser = State.Get("haveUser"); if (haveUser) { throw new Exception(); } State.Set("haveUser", true); State.Set("User", user); } Code void GetUser(string user) { } Code { string user = Console.ReadLine(); string password = Console.ReadLine(); Validate(user, password); } Control Flow string user = State.Get("User"); State Input State.Set("User", user); Input State Input Control Flow (More Code, More State)
17
Jared Jackson Microsoft Research
18
PanSTARRs (Astronomy) Neptune (Oceanography) Load/Merge Databases Execute on Clusters Monitor workflow execution Logging, Provenance, Faults
19
Composition Space Activity Library Workflow Library Data Options & Sharing
24
Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com
25
© 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.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.