Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » ASP.NET   (RSS)

State machine workflow web service example

Being able to have a StateMachineWorkflow hold state across multiple different web service calls can be very useful. This example will show you how to get start. The first step is to create your interface. For this example I will be using the following:
Posted by tomlake | 0 Comments
Filed under: ,

Attachment(s): StateMachineWebServiceExample.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 | 2 Comments
Attachment(s): ASPNETXAMLActivation.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
 
Page view tracker