Rory tackles Dependency Injection


It might be the first time I someone contacted me to about a blog they wrote about custom WF activities. Of course I was chuffed that they thought I might be interested. The articles really were interesting to me so I’m doubly happy to link them:

http://www.neovolve.com/post/2010/10/01/Custom-Windows-Workflow-activity-for-dependency-resolutione28093Wrap-up.aspx

Quick spiel: Not only does Rory Primrose tackle the basic problem of doing dependency injection as a workflow activity, he also adds a custom designer on it, and tries to tackle the issues around persisting the injected dependencies. You can therefore find real-world examples of:

  • extensions
  • custom persistance participants
  • invoking ActivityAction<T> as a child of your custom NativeActivity,

and also a custom Designer which uses

  • AttachedPropertiesService
  • ModelEditingScope, and
  • MorphHelper

Comments (0)

Skip to main content