Using standard icons in a rehosted Workflow Designer

In this post I’ll show how you can easily use appropriate icons within the Workflow Designer toolbox. There are a number of posts out on the web that show varying ways to do this, however the method I’m proposing is most probably the easiest and most flexible. In days of yore you would simply use…

0

Reading summary results from the VS2010 load test database

I’m with a customer in the labs this week doing some performance work and one of the tasks we wanted to do was to programmatically read the load test database in order to retrieve a table of summary data from a test run. My customer has instrumented their application well, and came prepared with 3…

0

VS2010: Could not read result repository, Named Pipes etc

I’ve just come across a problem with load testing on Visual Studio 2010 (which probably amounts to a RTFM issue, but who does that anyway?) When installing the load test controller I specified the machine name as ‘.’. Nothing in the setup told me this would be a problem, but it was. When I then…

0

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…

0

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…

0

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…

0

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…

0

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…

0

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…

0

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…

0