Reputation: 21
In WF 3.5 we used ManualWorkflowScheduler service to host workflows in Asp.Net. What is the equivalent way of doing this in WF4? Are new classed like WorkflowServiceHost or WorkflowApplication suitable to use in Asp.Net?
Upvotes: 2
Views: 1788
Reputation: 3279
See ASP.NET WF4 / WCF and Async Calls for more info on how to use the Workflow Runtime with ASP.NET
Upvotes: 0
Reputation: 27632
Using the WorkflowServiceHost works just fine in an ASP.NET application. There is no way to mimic the ManualWorkflowScheduler behavior where you can run a workflow until it is idle though, all hosts with the exception of the WorkflowInvoker are always asynchronous.
Upvotes: 1