当使用Windows Workflow Foundation的? [英] When to use Windows Workflow Foundation?

查看:123
本文介绍了当使用Windows Workflow Foundation的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有些东西是比较容易通过手(code)实施公正,但有些是通过WF容易。它看起来像WF可以用来创建(几乎)任何一种算法。因此,(理论上),我可以做我的WF所有的逻辑,但它可能是一个坏主意,这样做对所有的项目。

Some things are easier to implement just by hand (code), but some are easier through WF. It looks like WF can be used to create (almost) any kind of algorithm. So (theoretically) I can do all my logic in WF, but it's probably a bad idea to do it for all projects.

在什么情况下是它使用WF一个好主意,当将它使事情更难,然后他们必须?有什么利弊/ WF用手成本与编码?

In what situations is it a good idea to use WF and when will it make things harder then they have to be? What are pros and cons/cost of WF vs. coding by hand?

推荐答案

您可能需要永丰只有在以下任一为真:

You may need WF only if any of the following are true:

  1. 您有一个长期运行的进程。
  2. 您有一个过程经常变化。
  3. 您想要这个过程的可视化模型。

有关详细信息,请参见保罗安德鲁的职位:<一href="http://blogs.msdn.com/pandrew/archive/2007/02/01/what-to-use-windows-workflow-foundation-for.aspx">What使用Windows Workflow Foundation的呢?

For more details, see Paul Andrew's post: What to use Windows Workflow Foundation for?

请不要混淆或涉及WF任何形式的可视化编程。这是错误的,并可能导致非常糟糕的建筑/设计决策。

Please do not confuse or relate WF with visual programming of any kind. It is wrong and can lead to very bad architecture/design decisions.

这篇关于当使用Windows Workflow Foundation的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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