Sharepoint 2010 可以使用哪个 WF 版本?

发布于 12-04 09:33 字数 364 浏览 1 评论 0原文

我们计划开发一个基于SharePoint 2010 的系统(SP 对象、工作流程、UI 等)。

该系统将包含大约十几个与 SharePoint 对象交互的工作流。

通过询问,我了解到以下内容:

  1. SharePoint 2010 工作流是 .NET Framework 3.5 WF
  2. 从 3.5 中的 WF 到 4.0 中的 WF(基本上是重写的)已经有了很大的飞跃。
  3. 可以在 4.0 中编写我的工作流程,但它们不会那么容易地集成到 SharePoint 2010 中。
  4. 我可以在 3.5 中编写我的工作流程,但如果我们要升级 SharePoint 版本,我们将不得不重写我们的工作流程。

We are planning to develop a system based on SharePoint 2010 (SP objects, workflows, UI etc.).

The system will contain about a dozen workflows that interact with the SharePoint objects.

From asking around I understood the following:

  1. SharePoint 2010 workflows are .NET Framework 3.5 WF
  2. There has been a big leap from the WF in 3.5 to the WF in 4.0 (it was basically rewritten).
  3. It's possible to write my workflows in 4.0, but they won't integrate as easily into SharePoint 2010.
  4. I can write my workflows in 3.5 but if we will upgrade our SharePoint version we will have to rewrite our workflows.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

奶气2024-12-11 09:33:02

您只能将 .NET 3.5 工作流与 SharePoint 2010 一起使用。您是对的,.NET 4.0 工作流不会集成到 SharePoint 2010 中。不用担心升级,即使是 SharePoint 产品团队也会意识到这种情况。他们可能会提供升级工具或向后兼容性。

You can only use .NET 3.5 workflows with SharePoint 2010. You are right, .NET 4.0 workflows won't integrate in SharePoint 2010. Don't worry about upgradation, even SharePoint product team would be aware of this scenario. They might either come up with an upgrade tool or a backward compatibility.

许你一世情深2024-12-11 09:33:02

使用.NET 3.5 - 否则它将无法工作。

有些人说你不应该开发状态机工作流,因为它们不存在于 .NET 4 中,它只有“流程图”工作流。但是最近对 .NET 4 的更新重新引入了状态机工作流...

您现在没有任何其他选择,只能使用 .NET 3.5。但您应该记住,一旦新的 Sharepoint 版本发布(SP 2010 相当新!),您可能必须升级您的工作流程 - 但最终您必须将所有代码升级到新版本。

Use .NET 3.5 - otherwise it won't work.

There are some people saying you should not develop State-Machine Workflows because they do not exist in .NET 4, it only has "Flowchart" workflows. But a recent update to .NET 4 re-introduced State-Machine Workflows...

You do not have any other choice right now but to use .NET 3.5. But you should keep in mind that once a new Sharepoint version comes out (SP 2010 is pretty new!), you might have to upgrade your workflows - but in the end you would have to upgrade all code to the new version.

瑕疵2024-12-11 09:33:02

.NET 4 中的 WF 使用互操作活动来利用向后兼容性。当新的工作流引擎在 SharePoint 中可用时,您可以安全地执行现有资产(显然有一些限制)。

WF in .NET 4 uses the Interop activity to leverage backwards-compatibility. You can safely execute your existing assets (obviously with some limitations) when the new workflow engine becomes available in SharePoint.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文