I’ve added the first two of a series of webcasts looking at creating custom activities in WF 4.0. The first one looks at deriving from the CodeActivity class to create simple activities, and the second looks at deriving from the AsyncCodeActivity (and being more friendly to the workflow runtime).
WF 4.0 Custom Activities Part 1 Code Activity
WF 4 Custom Activities Part 2 Asynchronous Code Activity