[WF4]Create Your Own ServiceHostFactory

By using WorkflowServiceHost class, we can create a WF4 service host in code. The advantage of using WorkflowServiceHost is that we can add our own workflow extensions, tracking participant and persistence store. So problem is: can use our own WorkflowServiceHost in IIS7 like we did in the console a... [More]

[WF4]WF and BPEL

A customer asked about the BPEL support in WF4. Currently, we don't have the BPEL in WF3/4. The question is, will we have the BPEL support in the near future? I think the answer is NO. More and more people are going to use WF4, WF4 workflow can be represented as XAML. Since we have XAML, I don't thi... [More]

[WF4]Valuable WF4 learning materials(videos)

Here are some new WF4 learning materials:Windows Workflow Foundation (WF) Overview Wikihttp://social.technet.microsoft.com/wiki/contents/articles/windows-workflow-foundation-wf-overview-wiki.aspx Windows Workflow Foundation (WF) Screencasts:http://msdn.microsoft.com/en-us/netframework/wf-screencast... [More]

[WF4]WF4 Developing Rules

1. Be a .NET developer, c# developer will be the best.2. WF4 workflow should be developed and used by developers. Noe-developers? Please leave WF4 away. 3. Use NativeActivity only;4. Host WF4 workflow in IIS7 as a WCF service;5. Don't use extension. Use Activity instead;6. Use WF4 designer provided ... [More]

[WF4]Correlate Multiple Receive Activities

Consider such a workflow: There are two Receive activities. The first Receive activity will create a workflow instance. The second Receive activity functions as a bookmark activity. Imagine that there are two such workflow instances: A WCF request comes to call the second Receive activity. Which... [More]

[WF4]Using WF4 Customized Extension

Here is a simple WF4 extension:    public class SimpleExtension : IWorkflowInstanceExtension {         private WorkflowInstanceProxy instance;         public IEnumerable<object> GetAdditionalExtensions() { &nbs... [More]

[WF4]Sequence, Flowchart and State Machine, Which one do I need?

Currently, we have 3 types of workflow in WF4; they are Sequence, Flowchart and State Machine. State Machine workflow is now CTP1, and will be published in .NET 4.5. When your workflow include many sequence process, no much human interactivity, no much backwards. Use Sequence workflow. When your w... [More]

[WF]SharePoint Workflow Solution Spectrum

Out – of – box WF:Some common standardized workflow, say, document approval , Leave request workflow etc. we can use this workflow directly by some configuration. Custom Declarative WF: Non – developers, create workflows by rehost workflow designer. Custom Code WF: Developers cre... [More]