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 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

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

Retargeting Visual Studio Test Projects for .NET 4 Platform Update 1.

If you are using .NET 4 Platform Update 1 to do unit testing you may encounter this dialog box when you try to change the target framework of your test project Tip: You can press Ctrl+C on a message box to copy the text to the clipboard.  If you want to go to the link…

0

How to eliminate tempuri.org from your service WSDL

tempuri.org is the default namespace applied to WCF Services and Workflow Services.  You can and should specify your service namespace. It is recommended that you explicitly specify a name and namespace for the service contract, and an action for each operation to avoid using "http://tempuri.org" and to prevent interface and method names from being exposed…

0

Microsoft.Activities and Microsoft.Activities.UnitTesting now available via NuGet

Update 12/3/2011: Microsoft.Activities is now Microsoft.Activities.Extensions When I first saw NuGet I knew I had to find a way to take advantage of this great new way to deliver code to you.  It took a few months but finally the other day I decided to spend an afternoon working on a NuGet package for Microsoft.Activities. …

0

WF4 Advanced State Machine Stuff

So you want to know how the state machine really works? Take a look at the WF4 State Machine Explorer.  This sample is designed to show you how StateMachine works with activities. There are three transitions from State1. To State 2 which is triggered by a bookmark named “State2” To State 3 which is triggered…

12

How to detect if the .NET Framework Platform Update 1 is installed

Humans Go to Control Panel / Programs / Programs and Features / View Installed Updates Use the Search Box to search the updates for KB2495593 KB2478063 Or if you prefer, search the list your self Microsoft .NET Framework 4 Platform Update 1 – Runtime Update Look for .NET Framework 4 Extended Look for Update for…

1