开发者

Hosting Workflow Runtime in ASP.Net (WF4)

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 开发者_C百科WorkflowServiceHost or WorkflowApplication suitable to use in Asp.Net?


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.


See ASP.NET WF4 / WCF and Async Calls for more info on how to use the Workflow Runtime with ASP.NET

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜