Windows Workflow Foundation Long Running Activity Sample
Sample code illustrating an activity that executes CPU for a long period
- Sample code illustrating an activity that executes CPU for a long period. This allows for CPU intensive tasks or external long running web services to be called from within a WF activity. Long is a subjective amount of time, but a rule of thumb is 1/10th second or more. Paul Andrew has written a short article about patterns for activity development which includes this sample as a long running activity. The sample is available in this download as both C# and VB.NET.
This download is no longer available on microsoft.com. The downloads below are archives provided by the Internet Archive Wayback Machine from the Microsoft Download Center prior to August 2020.
Operating Systems: Windows Server 2003, Windows Vista, Windows XP
- .NET Framework 3.5 including Windows Workflow Foundation. This also applies to the .NET Framework 3.0 version of Windows Workflow Foundation but the included Visual Studio project files are versioned at Visual Studio 2008.
- Run the sample. Agree to the standard sample EULA. Extract the resulting ZIP file. You will find project files for both C# and VB.NET for use in Visual Studio 2008. Only source is included.