The Activity Designer

Not actually a WF 4.0 blog any more :)

Browse by Tags

Tagged Content List
  • Blog Post: (WF4) They have AsyncCodeActivity, why not AsyncNativeActivity?

    AsyncCodeActivity is a nice class for wrapping calls to asynchronous APIs and turning them into activities that can run super-efficiently. But! There are a few limitations to being a subclass of AsyncCodeActivity when compared to NativeActivity. Such as? Here’s a rough list: you can’t...
  • Blog Post: Public and Private in Depth (“Custom ‘Activity Sequences’ with Private Implementation” Interlude)

    [In this interlude, we’re spiritually continuing the Custom ‘Activity Sequences’ With Private Implementation series, but without referring to any code from the original problem. Read Part 1 for the introduction. Or guess from this summary – we’re looking at how we can build custom activities compositionally...
  • Blog Post: Misadventures in CacheMetadata – wrapping an inner activity, in code

    Let’s dig deeper into CacheMetadata (intro post) . We’ll do it with a toy problem – I want to wrap the Delay activity and customize it so that I can override the delay argument in code. I’m going to jump straight in and do it in NativeActivity ( without thinking about whether this is a good implementation...
  • Blog Post: NativeActivity - CacheMetadata for Fun and Profit

    [Cache. Profit. I guess I’m going on 50.] After reading Basic Activity Scheduling and starting to write subclasses of NativeActivity, you may start running into a bunch of really weird or downright incomprehensible error messages. Some samples to whet your appetite: Activity '1: CodeActivity1...
  • Blog Post: Basic Activity Scheduling in Workflow 4.0

    …NativeActivity . Provides all of the features of CodeActivity, plus aborting activity execution, canceling child activity execution, using bookmarks , and scheduling activities… As of .Net Fx 4.0 Beta 2, the Activity class hierarchy looks a bit like this: Actually this is only a tiny chunk of...
Page 1 of 1 (5 items)