Creating a dynamic state machine with C# and NHibernate, Part 2: Adding business rules.

This the second part of a series started in an earlier post; Creating a dynamic state machine with C# and NHibernate  In my first post I showed you how to create a state machine, attach it to an entity and Continue reading

Posted in Architecture, ORM | Tagged NHibernate, Open - closed principle, State Machine, Strategy Pattern | 12 Replies

An architecture dilemma: Workflow Foundation or a hand rolled state machine?

Workflow Foundation is an interesting piece of technology, in a recent architectural decision for a project I had time to examine the pro’s and con’s of WF for a particular challenge. This sprint a story came up that will give Continue reading

Posted in Architecture, Methodology | Tagged Architecture, State Machine, Strategy Pattern, Workflow Foundation | 5 Replies