Welcome to MSDN Blogs Sign in | Join | Help

May 2006 - Posts

Project template for XAML Activation Console Application

If you work with XAML activation from time to time and like being able to debug your workflow using a console application you should install these templates. However, you don’t like having to modify the default console application template each time.
Posted by tomlake | 1 Comments
Attachment(s): XAMLActivationTemplates.exe

Examples of using Persistence and Tracking in ASP.NET

When you are working with ASP.NET you may have the need to persistence and / or tracking. I have put together two examples, one with shared databases and the other with separate, and included the command scripts to create the databases for you. There

Using XAML activation in ASP.NET with a StateMachineWorkflow

If you want to use XAML activation in ASP.NET you will need to be using Windows Workflow Foundation Beta 2.2, that can be found here . The reason for this is that although XAML activation works in most cases with Beta 2 it isn’t officially supported in
Posted by tomlake | 3 Comments
Attachment(s): ASPNETXAMLActivation.EXE

Couple of custom activities that you can use to synchronize branches of a ParallelActivity

You could use a SynchronizationScope Activity, but this would block execution all together in the other branches since the thread is locked until the activity is done executing. If that is not the behavior you are looking for here are two options. First,
Posted by tomlake | 1 Comments
Attachment(s): SynchronizationActivities.exe

XAML activation and how to use it

XAML activation is when you use the serialized xoml file to create and run a workflow instance. You will use one of the following WorkflowRuntime methods to create the workflow instance: public WorkflowInstance CreateWorkflow( XmlReader workflowDefinitionReader);
Posted by tomlake | 4 Comments
Attachment(s): XAMLActivation.exe

Sample of StateMachineWorkflow receiving events fired in ASP.NET

If you are using a state machine workflow in ASP.NET you need to use the ManualSchedulerService. After the workflow is started or an event is fired to it you need to make a call to RunWorkflow. This allows the current thread to process the event, for
Posted by tomlake | 1 Comments
Filed under: ,

Attachment(s): ASPNETStateMachineWorkflow.exe

Have you had problems using the FileWatcher sample in a StateMachineWorkflow or WhileActivity?

If you have tried to use the FileWatcherActivity in either a WhileActivity or a StateMachineWorkflow you have probably not had much luck. The changes need to be made to the base activity InputActivity. To get it working in a while activity you need the
Posted by tomlake | 1 Comments
Attachment(s): FileWatcherActivities.exe
 
Page view tracker