David Savage

I'm a software developer and consultant based in Houston, Texas.

Scaling Workflows with NServicebus Routing Slips

If you’ve been using NServiceBus and Sagas, you owe it to yourself to check out Routing Slips. Essentially they’re a stateless alternative to Sagas and very useful for tackling workflow-processing needs. In this article I’ll take you from a simple handler, through a saga, and on to a full routing slip demo. [Read More]

Using Enumerations with NPoco

Recently, we tried to use the Enumerations project with NPoco. In our case, we wanted to get the enumeration Value to persist as an Int in our database. At first it seemed like we may need to create a Fluent Mapping for each property. But then I discovered a better breakdown of custom mappers and it turned out to be a lot easier than expected. [Read More]

Working with ServicePulse

Over the past year I’ve had the enjoyment of working with an established system built on NServiceBus and MSMQ. If you’ve had to investigate an issue in this scenario, you’ve gone through the exercise of combing through logs and failed messages; which can get a bit tedious at times. With recent updates from Particular, it probably won’t be so painful anymore. [Read More]

T4 Templates for just POCOs

Micro-Orms are a lot of fun to work with. Crafting your POCO’s by hand is not. PetaPoco ships with a great set of T4 templates to address this. But if you’re like me, you may have tried using them with NPoco and found it a bit troublesome. When all you want are Pocos a slimmed down version of the PetaPoco templates EzPoco(nuget package) is the same set of templates that ship with PetaPoco - which were originally built based on Subsonic’s templates. However, these templates get straight to the point - they just generate a bunch of partial POCOs. To get them going, you can follow the original instructions for PetaPoco. Just omit the bits that have been removed to keep things simple. [Read More]

.NET ORMs: A brief timeline

As part of a talk that I will be giving later this summer, I’ve been collecting a bit of data around the history of ORMs. I thought it worth while to share this a head of time. I may be adding more to this as I get time. To view the full timeline: http://www.timetoast.com/timelines/history-of-data-access [Read More]