Windows Workflow Foundation Beta1 to Beta2 changes

Many early adopters have been working with Windows Workflow Foundation (WF) in Beta 1 and will now be looking at upgrading to Beta 2.  Although you can't get Microsoft support on this, we have prepared an upgrade document for existing users of WF Beta 1 who are upgrading code to WF Beta 2.

The steps leading up to your upgrade are to:

  1. Uninstall Visual Studio 2005 extensions for Windows Workflow Foundation (Beta 1.2)

  2. Uninstall Windows Workflow Foundation (Beta 1.2)

  3. Install Visual Studio 2005 extensions for Windows Workflow Foundation (Beta 2 which includes the platform runtime component that you uninstalled in step 2).

  4. Open your WF Beta 1 project and do a Build -> Clean Solution and Build -> Rebuild Solution

  5. Make changes to your code as required to fix build errors and port your project referring to the upgrade document.

You can use the upgrade document by searching for the API that you used in Beta 1 in the document and having a look at what it may have been changed to. You should be aware that this document isn’t a step by step guide to upgrading and lists the changes rather than explaining them so some expertise will be required.

There is also a webcast where I will talk about new features added to WF Beta 2 which you are welcome to join or view afterward. It’s on Thursday February 9th at 10am PST and you can link to it here.

Comments (7)
  1. chong says:

    Hi, Paul:

    This is not directly related to your post but more related to WWF.

    The question I have is what is the benefit you can see to use WWF for Kiosk application?


  2. Paul Andrew says:

    Hi Chong, You could use WF to implement business process that you have in your application. There isn’t anything specifically focussed on an application being a Kiosk in WF.



  3. matt says:


    I’ve just wonder how to implement human workflow using WWF? As far as I understand, it should be a state machine work flow?

    I’m trying to evaluate Human Workflow service in Biztalk but it will be replaced totally with WWF in the future, so just want to get a grisp on it before hand.


  4. Windows Workflow Foundation Beta 2 にて準備中

  5. 【MDC06】Windows Workflow Foundation Beta 2 にて準備中

  6. Hi,

    In the Beta1 to Beta2 change document there is a paragraph about the “StateMachineWorkflowInstance” class. This is a wonderful thing, and it comes in verry handy :). But when I subscribe to the “StatusChanged” event it does not fire. Sample below:



    private Guid StartOrderWorkflow()
    // Create a new GUID for the WorkflowInstanceId
    Guid workflowInstanceId = Guid.NewGuid();
    _currentWorkflowInstanceId = workflowInstanceId;

    // Start a new instance of the Order State Machine workflow
    _workflowRuntime.CreateWorkflow(typeof(StateMachineWorkflowLibrary.OrderDelivery), null, workflowInstanceId).Start();

    StateMachineWorkflowInstance stateMachineWorkflowInstance = new StateMachineWorkflowInstance(_workflowRuntime, workflowInstanceId);
    stateMachineWorkflowInstance.StateMachineWorkflow.StatusChanged += new EventHandler(StateMachineWorkflow_StatusChanged);

    _stateMachineWorkflowInstances.Add(stateMachineWorkflowInstance.InstanceId, stateMachineWorkflowInstance);

    // Return the WorkflowInstanceId
    return workflowInstanceId;

  7. As every

    WF follower, I also made the upgrade from beta 1 to beta 2.

    I needed a state machine workflow…

Comments are closed.

Skip to main content