WF for controlling application flow

WF can also be used to control the flow of application execution. In this technique, the view model uses WF-based workflows to control the flow of application. This delegation results in better separation of concern by keeping the view model code more maintainable and testable. The following diagram uses workflow directly. It is preferable to introduce a service layer here between the view model and workflow. This would keep us from being over dependent on the Workflow technology. This also improves unit testability.

WF for controlling application flow

The latest platform update of .NET Framework 4.0 has included some features based on high public ...

Get MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.