[英]Which WF version to use with Sharepoint 2010?
We are planning to develop a system based on SharePoint 2010 (SP objects, workflows, UI etc.). 我们计划开发一个基于SharePoint 2010(SP对象,工作流,UI等)的系统。
The system will contain about a dozen workflows that interact with the SharePoint objects. 该系统将包含大约十二个与SharePoint对象进行交互的工作流。
From asking around I understood the following: 通过询问,我了解了以下内容:
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. 您只能将.NET 3.5工作流与SharePoint 2010一起使用。是的,.NET 4.0工作流不会集成到SharePoint 2010中。不必担心升级,即使SharePoint产品团队也会意识到这种情况。 They might either come up with an upgrade tool or a backward compatibility.
他们可能会提出升级工具或向后兼容。
Use .NET 3.5 - otherwise it won't work. 使用.NET 3.5-否则它将无法正常工作。
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. 有人说您不应该开发状态机工作流,因为它们在.NET 4中不存在,因为它仅具有“流程图”工作流。 But a recent update to .NET 4 re-introduced State-Machine Workflows...
但是.NET 4的最新更新重新引入了状态机工作流...
You do not have any other choice right now but to use .NET 3.5. 您现在没有其他选择,只能使用.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.
但是,请记住,一旦出现新的Sharepoint版本(SP 2010相当新!),您可能必须升级工作流程-但最终您必须将所有代码升级到新版本。
WF in .NET 4 uses the Interop activity to leverage backwards-compatibility. .NET 4中的WF使用Interop活动来利用向后兼容。 You can safely execute your existing assets ( obviously with some limitations ) when the new workflow engine becomes available in SharePoint.
当新的工作流引擎在SharePoint中可用时,您可以安全地执行现有资产( 显然有一些限制 )。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.