O'Reilly logo

Building Applications with Windows Workflow Foundation (WF): Advanced Workflow Features by Michael Stiefel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Passivation

Long running workflows spend more time waiting for something to happen than actually executing. Keeping the workflow in memory consumes resources that could be used by other workflows or programs running on that machine. In addition, it might be necessary to bring the machine down for maintenance. And of course, servers never crash.

Under these circumstances it becomes necessary to save, and then restore the state of the workflow. This is called passivation. In addition, one can passivate a workflow because one wants to create a save point to which the workflow can be restored.

As we have previously seen, the workflow is nothing but a data structure. Hence, it can be serialized as part of the passivation process by using a persistence ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required