Workflow Activities and Data Templates

A.K.A. “Why won’t the workflow designer use my data template?” I was on site with a customer today writing some custom activities and found a problem that wasn’t immediately obvious how I could get around it (and indeed it’s taken me some hours of head scratching and debugging to finally find the answer). I have…

2

Bug: Goal Based load test generates a LoadTestGoalCounterNotFoundException

I’m in the scalability labs with a customer this week and we’ve encountered an exception when setting up a goal based load test. We have a bunch of machines, and my customer has created a set of custom performance counters that report appropriate data. The goal based test was setup to utilise a custom counter…


Adding a Context Menu item to a Workflow 4 designer

I’m in a curious time-warp this week, as I’ve just been asked how to do something in WF4 that I wrote about for WF3 in September 2005. Anyhow, a customer of mine asked how to add an item to the context menu for an activity within the design surface, and so here goes… Firstly you…

1

Simplifying commands in MVVM and WPF

I’ve been using MVVM since I started WPF (I was a latecomer to the beauty that is WPF) and one of the things that’s always irked me is the amount of code you need to write in order to expose a command. I’ll typically write something like the following in order to create a command…

10

A practical State Machine example

Now that the State Machine Activity Pack has been released on Codeplex (see http://wf.codeplex.com for details) I thought I should resurrect one of the samples I regularly used in the 3.x days to show a state machine example. The point of this example is to show how the state machine activities could be used to…

1

Creating multiple activities from the toolbox

This blog post will show you how you can add a custom tool to the toolbox which, when selected, will drop a custom activity onto the designer surface. In addition I’ll also show how to get non-activity classes onto the toolbox. There are many times when you might want to do this – a couple…


Designers for custom activities

When writing a custom activity you’ll typically want to provide a custom designer which is used when rendering your activity on the design surface. Visual Studio will look for designers using a couple of methods – one old, one new. In this post I’ll show how to use both methods and explain the differences. Visual…


Setting up WCF with a load balancer using SSL in the middle

I was onsite today with a customer who was having problems getting WCF to work, and after much wailing and gnashing we finally arrived at a solution so I thought I would blog it. We were getting an EndpointNotFoundException with the error message “There was no channel that could accept the message with action …”….

1