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…


New .NET Attributes

The very first talk I gave on .NET was on custom attributes – some time way back in late 2000 or early 2001. At the time I was espousing the benefits of using custom attributes to add on details of unit tests and bug fixes. There have been many additions to .NET since then and…


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

MsiExec taking 50% CPU

I’ve had a rather frustrating afternoon but it’s all sorted now. I’ve recently repaved my laptop with Windows 7 RC and installed loads of stuff at the same time, including VS2010 Beta 1. I’ve also more recently installed VS2008 as I needed it for the Ukadc.Diagnostics project that myself and Josh are collaborating on. Now…


Differentiating process instances in Perfmon

If you’re running in a terminal services environment, or have multiple instances of a given application running on your machine, this tip will help you to work out which process is which in Perfmon. To see the issue, I’ve created a simple Windows Forms application and run up three instances of it on my machine….

3

The following requested processes are not executing – error in adplus.vbs

I was doing some investigation on a customer site and needed to use adplus.vbs to take process dumps, however I was forever getting the above error and couldn’t for a while work it out. I thought I must have typed in the wrong process id, but after checking and double checking I wasn’t, so I…

1

A new Home Server

I’ve been running WHS since an internal beta on a box that really wasn’t quite what I wanted – in that it was way too large. As far as I’m concerned a home server should be a small appliance that sits on your network, is on all the time, and consumes as little wattage as…

3

Grampus

Here’s my boat.   masthead.jpg