Does anyone have any experience hosting the Windows Workflow designer surface? I've seen a couple of rather difficult to follow examples on MSDN, but not much else - certainly nothing that offers an explanation into the process of hosting WF that is clear or easy to read... Are there better resources out there for hosting WF (or a workflow-like design surface - I'm not necessarily tied to WF) that actually make sense?
There is a reference application from MSDN if you want to learn from code.
WF Sample Workflow Designer Visual Studio 2005 Solution
There was a blog maintained by the developer of the workflow designer. Will update the post as soon as I am able to dig it out.
From the little that I have read about WF 4.0 here, like:
- Updated visual designer
- Easier to use by end-users
- Easier to rehost by ISVs
- Ability to debug XAML
- New workflow flow-control models
- Flowcharts, rules
I suggest to wait the announcements at the PDC (end of October)
There are also a couple of books out there that describe how to host the workflow designer. For instance the Pro WF books (by Bruce Bukovics).
Unfortunately, rehosting the designer in WF 3.x is not super-simple, and requires you to have some understanding of the designer architecture. MS is looking at improving this in the next version (which isn't even beta yet, but they talked about this at PDC today).
Question for the questioner - Is one of the articles you mention this one?
http://msdn.microsoft.com/en-us/library/aa480213.aspx
I think the best hope of understanding is probably to download the code sample first and try and read it in parallel with the article.
来源:https://stackoverflow.com/questions/198191/hosting-windows-workflow-designer