开发者

Hosting Workflow Runtime in ASP.Net (WF4)

开发者 https://www.devze.com 2022-12-30 12:25 出处:网络
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 WorkflowApplica

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

精彩评论

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

关注公众号