您如何在Workflow Foundation中管理版本? [英] How do you manage versions in Workflow Foundation?

查看:69
本文介绍了您如何在Workflow Foundation中管理版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当工作流程长期运行并且您可能同时在持久性存储中拥有两个或三个版本并且必须能够访问它们时,如何在WF中管理工作流程的版本?

How do you manage versions of work flows in WF when you have long running work flows and you might have two or three versions in the persistence store at the same time and have to be able to access them all?

推荐答案

我做了四篇博客文章,涵盖了对长时间运行的工作流进行版本控制时需要了解的大多数内容.

I did a series of 4 blog post covering most of the stuff you need to be aware of when versioning long running workflows.

我倾向于避免的一件事是使用HandleExternalEventActivity,因为这使事情变得非常复杂.为此,我倾向于使用简单的类型和xml序列化的对象.

One thing I tend to avoid is using the HandleExternalEventActivity as this greatly complicates things. For that matter I tend to stick to simple types and xml serialized objects.

  • http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx
  • http://msmvps.com/blogs/theproblemsolver/archive/2008/09/11/versioning-long-running-workflows-part-2.aspx
  • http://msmvps.com/blogs/theproblemsolver/archive/2008/09/16/versioning-long-running-workfows-part-3.aspx
  • http://msmvps.com/blogs/theproblemsolver/archive/2008/09/22/versioning-long-running-workflows-part-4.aspx

这篇关于您如何在Workflow Foundation中管理版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆