Workflow Foundation 4.0 Activity Data Model (III)

We talked about WF4 Activity overview and WF parameters in particular in previous posts. In this installment, I’m going to focus on WF variables. Variable Variables are modeled by Variable class.     namespace System.Activities     {           public abstract class Variable : LocationReference         {             public ActivityWithResult Default { get; set; }             public…

1

WF ADO.NET Activity Pack CTP1 Released

We are happy to announce that we have released the WF ADO.NET Activity Pack CTP1 on CodePlex. The WF ADO.NET Activity Pack CTP1 contains a set of WF 4 Activities based on .NET Framework Data Providers. These activities enable accessing a database through SQL commands or stored procedures within a workflow.  You can drag-and-drop the ADO.NET…


Workflow Foundation 4.0 Activity Data Model (II)

In the 1st segment, I talked about high level principle for WF4’s data model design. I’m going to talk about WF Argument in particular in this post. Argument We’ve briefly touched this before: in WF4, arguments are modeled by Argument class. namespace System.Activities {   public abstract class Argument {     public Type ArgumentType { get;…

1

Workflow Foundation 4.0 Activity Data Model (I)

In previous blogs, we went through how define an Activity’s execution logic. But this is not enough. To build any meaningful Activity, developers also need to the activity’s state and data flow. In this post, I’m going to talk about WF4’s Activity data model. Argument and Variable 101   WF is just another higher level…


Workflow Foundation 4.0 Activity Model (II)

In previous post I introduced WF4’s Activity model. In this section, I’m going to use 2 samples to demo 4 styles to create a custom Activity. How to build a leaf activity – HttpGet   Today HTTP based RESTful services are getting popular, so it might be useful to perform some basic HTTP operations in workflow….

1

Workflow Foundation 4.0 Activity Model (I)

Workflow as Activities If you have programmed with Windows Workflow Foundation (WF), you should be very familiar with Activities. In WF, programs are defined by a tree of Activities. Some Activities are used to control the flow of program, like Sequence, If, and While; some Activities perform specific actions, like Assign, InvokeMethod and WriteLine; some…

4

A developer’s view of Workflow

A new programming language Windows Workflow Foundation (WF) 4.0 offers many features to simplify business application development, deployment and management. In this post I’d like to explore workflow from a developer’s angle as a new programming language. WF has a lot of “new” features compared to mainstream industry languages like C\C++\Java\C#\VB. As a developer, I…

5