What should you do to ensure that the number of active threads in the workflow runtime?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application is a Microsoft ASP.NET application and must be able to host the workflow runtime. You need to ensure that the number of active threads in the workflow runtime is equal to the number of ASP.NET Web requests. What should you do?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application is a Microsoft ASP.NET application and must be able to host the workflow runtime. You need to ensure that the number of active threads in the workflow runtime is equal to the number of ASP.NET Web requests. What should you do?

A.
Create all the workflows in the application by using XAML.

B.
Create all the workflows in the application by using the code-only model.

C.
Add an instance of the ManualWorkflowSchedulerService class to the Services collection of the workflow runtime on the host application.

D.
Inherit from the WorkflowLoaderService class and implement the required logic. Add an instance of the service to the Services collection of the workflow runtime.



Leave a Reply 0

Your email address will not be published. Required fields are marked *