How to create a Custom Activity Designer with Windows Workflow Foundation (WF4)

The Windows Workflow Foundation (WF4) – Custom Activity Designer sample demonstrates how you can build an activity and activity designer.  It includes three projects MyActivityLibrary – The activity library project MyActivityLibrary.Design – The activity designer project TestDesigner – A rehosted designer project useful for testing the activity Step 1: Create the Activity The first step…

0

Windows Workflow Foundation (WF4) ParallelFor Activity

In my previous posts I’ve been arguing that you can implement Task Parallelism with Windows Workflow Foundation (WF4).  This post is a part of a series on WF, Parallelism and Threading Windows Workflow Foundation (WF4) Activities and Threads The Workflow Parallel Activity and Task Parallelism Windows Workflow (WF4) Task Parallelism with Sequences Windows Workflow Foundation…

0

Windows Workflow (WF4) Task Parallelism with Sequences

In my last post The Workflow Parallel Activity and Task Parallelism I said that you can implement Task Parallelism with Windows Workflow Foundation.  In this post I want to explore some of the differences between the Parallel Activity in System.Workflow.Activities (WF3) and the Parallel Activity in System.Activities.Statements (WF4). This post is a part of a…

0

The Workflow Parallel Activity and Task Parallelism

“Task parallelism (also known as function parallelism and control parallelism) is a form of parallelization of computer code across multiple processors in parallel computing environments. Task parallelism focuses on distributing execution processes (threads) across different parallel computing nodes. It contrasts to data parallelism as another form of parallelism.” – Wikipedia – Task Parallelism This post…

2

Windows Workflow Foundation (WF4) Activities and Threads

Most of the time in software when we say “Parallel” we mean that multiple threads are being used to do work concurrently.  Because of this, many customers ask if the Parallel activity works this way in Windows Workflow Foundation.  I know there is a great deal of confusion about activities and threads and in the…

0

Authoring Activities in Code or XAML

With Windows Workflow Foundation (WF4) you can author activities in Code or XAML.  Each has advantages and disadvantages Visibility Advantage – XAML You can author them in the Workflow Designer.  Here is a activity I’ve been working with today.  You can easily see what this activity does by looking at it in the designer. Code…

0

XAML and Activity Assembly Spoofing

Recently I was contacted by a customer who had read my posts on Versioning and was investigating some interesting behavior of activity designers (more on this in a future post).  But this discussion got me to thinking.  As I pointed out in my WF4 Activity Versioning Solution, with compiled workflows the XamlStaticHelper class loads assemblies…

2

Tracking Child Workflow with InvokeWorkflow

For background on this issue see WF4 How To Invoke a Child Workflow as XAML.  Thanks to rfcdejong who recently logged an issue on our http://wf.CodePlex.com site Child activity’s ignore the Tracking Participant / Tracking Profile ? Because of this feedback I’m adding support for tracking to InvokeWorkflow.  Adding this was not trivial work and…

0

Using Workflow Services and Silverlight Together

In my previous post on WorkflowServices, CanCreateInstance and Silverlight I shared with you some of the pain that I went through in building my first Silverlight / Workflow Services app.  Much of this pain was just because I have not done a great deal of work with Silverlight and WCF.  In this post I’m going…

3

Delay signing Visual Studio and XamlBuildTask

While working on signing assemblies you may run into a problem I encountered this morning so here goes… Problem XamlBuildTask fails when referencing a Delay Signed assembly To see this in action try the following Create a Workflow Console Application (WorkflowConsoleApp1) Create an Activity Library (ActivityLibrary1) Reference ActivityLibrary1 from WorkflowConsoleApp1 Set ActivityLibrary1 to Delay Sign…

0