I've created two workflows - one uses InvokeMethod activities extensively, whereas the other uses only custom CodeActivitys.
I've noticed that when I try to persist the workflow containing the InvokeMethod activities, I have to modify my code to decorate it with [DataContract] and [DataMember] for serialization. However, when I wish to persist the workflow containing only CodeActivities,
I do not have to make any changes.
Is this just coincidence, or do CodeActivities always serialize without coding effort?
View Complete Post