Workflow 4 and soap faults

Image by ponChiang via Flickr Note: This blog post is written using the .NET framework 4.0 RC 1   Using the ReceiveAndSendReply activity template and the WorkflowServiceHost it is easy to create a workflow service. Other applications can communicate with the workflow just as if it is a regular WCF service, they never need to know the difference. Most of the configuration is quite straightforward. Select the Receive activity and configure it and do the same with the SendReply activity. Most the settings normally done using a ServiceContract or an OperationContract are there. But what about faults? Turns out there … Continue reading Workflow 4 and soap faults

WF 4 Feature request: Group activity into Sequence

Image via Wikipedia One of the things developers often have to do is replace a single activity with multiple ones. This requires replacing the original activity with a Sequence and then adding the original activity to the sequence. When developing UI in Blend the same kind of operation is often required to wrap an element inside of a StackPanel, Border or something similar. In Blend this is very easy to do as there is a context menu for just this action. So all that is needed is right click and wrap something in the container of choice. I would like … Continue reading WF 4 Feature request: Group activity into Sequence

Loading XAML Workflows in WF4

Note: This blog post is written using the .NET framework 4.0 RC 1   Most of the time I used compiled workflows in Windows Workflow Foundation 4. Its nice and easy, you design the workflow, compile it and at runtime there is a .NET type you use to create and run workflows. The main drawback is that this approach isn’t very flexible, sometimes you want to be able to change your workflow definition at runtime or store it in a database so recompiling isn’t an option. Fortunately we can also load a workflow from the XAML file itself and execute … Continue reading Loading XAML Workflows in WF4