WF4 Performance Tip–Cache Activities
When you create a new WorkflowConsole application you will see a line of code like this 1: WorkflowInvoker.Invoke( new Workflow1()); Looks innocent enough right? If you were only going to invoke this activity once this is not a problem. But what if you were going to invoke this activity thousands of times? Suppose you wanted to use the activity in a WCF Service
Go here to see the original:
WF4 Performance Tip–Cache Activities


