Aline’s Tech Blog

All my geekness is here :-)

Custom persistence with custom tracking (vb.net source code) July 1, 2008

Filed under: WF — Aline @ 8:37 pm
Tags: , , ,

This first article aims at presenting a very simple solution for custom persistence and tracking services for windows workflow foundation.

The solution presented here has been designed to run with a long-running state machine workflow but could be adapted to any use case. It contains:

  • A persistence service that stores the serialized workflow into a binary file,
  • A tracking service that stores the state changes into a text file.

This article will only explain how to create and use persistence and tracking services. A more detailed explanation about a simple state machine workflow running with a host demo application will be done in a further article.

(more…)