WF4 workflow versioning using WorkflowServiceHost
Posted
by rwwilden
on Stack Overflow
See other posts from Stack Overflow
or by rwwilden
Published on 2010-03-12T15:18:04Z
Indexed on
2010/03/14
9:25 UTC
Read the original article
Hit count: 802
Related to this question.
I understand how to implement versioning of workflows using WorkflowApplication
. If you keep the original XAML definition for older versions of your workflow around, you can load them using the right WorkflowApplication
constructor.
How could you ensure that WorkflowServiceHost
uses the correct workflow definition when you want to host your workflows in IIS?
There is a WorkflowServiceHost
constructor that you can use to load a workflow definition, but when you are hosting inside IIS through a XAMLX file, you do not call WorkflowServiceHost
yourself, this is handled somehow by IIS. So how do I ensure that the correct workflow definition is loaded for the right version of my workflow?
© Stack Overflow or respective owner