wpf - using WF to orchestrate views -
i know if possible use 1 (or many) activity workflows handle different views in mvvm wpf+wcf application.
let's want implement workflow:
- user wants add new customer
- a new customerview displayed
- user fills in few fields
- user wants insert new "office"
- a new officeview displayed
- user fills in officeview fields
- user closes form
- office's filled in data passed on customerview
- customerview's save button clicked
- information persisted
would possible use workflow foundation handle scenario?
in mvvm scenario, normally, in order pass data between different views/viewmodels, use: * mediator pattern * service pattern * ioc
would advice against "workflow pattern" approach?
i reading workflow have sort of datacontext. therefore, thinking use share , pass data on other views...
thanks in advance opinions,
cheers, gianluca.
Comments
Post a Comment