Archive for January, 2010

How to: Integrate a Topshelf based service with VS Setup projects (2010-1-9)

We’ve recently started to migrate all of our Windows Services from a classic ServiceBase based approach to the hosting framework Topshelf.
Previously we used the standard ServiceInstaller / ServiceProcessInstaller tandem to integrate our services with MSI deployment. This does not work with Topshelf (since Topshelf does the service installation itself via the Registry). However it’s [...]

Diving into the StoryTeller trunk, Part 11.2: More on Commands (2010-1-9)

!!! Updated to current StoryTeller trunk on 15.02.2010 !!!
Let’s take a look at some of the questions I left unanswered in the last post.
Is the basic GoF Command pattern sufficient for a modern composite application?
The basic GoF Command pattern has no notion of visual state of a Command, such as (Is)Enabled or (Is)Visible. Its original [...]

StructureMap: Registry usage (2010-1-6)

I recently read something like this on Twitter:
“It feels wrong to have registration and scanning in the Registry class”
(I’m not quite sure but I think it was from Jimmy Bogard)
I absolutely second that. One of the decisions in my current project (a composite smart client) was to separate these two things, in order to give [...]

Changes in StructureMap 2.5.4 (2010-1-5)

Interesting what some people do during the Christmas holidays. In the case of Jeremy D. Miller this was releasing a new version of StructureMap and working heavily on the Fubu MVC codebase.
Today I had the pleasure to migrate my current projects codebase (which previously used Unity and Unity.Interception) to the newest StructureMap version 2.5.4 and [...]