I’m beginning work on a new project that will use WF4 for business processes and Silverlight 4 for UI.
I know that Silverlight will not host WF; I’m not interested in that.
I’m wondering whether I should
-
Create workflow services and add service references directly to those in Silverlight
OR
-
Expose the workflows through a DomainService
My workflows will be long running and will need to be persisted.
Suggestions?
It depends a bit on how much other logic you want to put on the server. In most cases I use the workflow service directly from the Silverlight UI Either way I would prefer to use workflow services if the workflow where long running.