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…


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…


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

How much is that logging in the Window(s)

Sorry for the awful pun, but now you’re probably thinking I’m mad, either that or you now have the lyrics of “How much is that doggy in the window” racing around in your head. Anyhow, the point of this post is to show something that I’ve carped on about for some time and that is…


INotifyPropertyChanged not working?

I was writing a helper class today for WPF and had a IsDirty flag which was firing a PropertyChanged event. However, when I used this in my UI the element that was bound to this flag was not updating. After a quick look through my code I noticed the following… private void OnPropertyChanged(string property) {…


How to define and host workflow services with multiple receives

[Note – this article is based on Workflow 4 Beta 1, some things will change for Beta 2] First off let me apologise for the length of this post. If you just want the code, skip to the bottom. I don’t know about you but some words just don’t seem to make their way into…


Polymorphism in WCF

Polymorphism in any OO language is taken as a given – and people would be shouting about it a lot if a language didn’t support it. However, when you’re writing a service interface with WCF you might also want to permit some form of polymorphic behaviour at runtime. I was working with a customer yesterday…

1