Project Description
This Visual Studio solution demonstrates a complex implementation, which is a simple order process system, utilizing Windows Workflow (state machine), duplex WCF services(TCP duplex and Silverlight polling), WPF and Silverlight.


The project is a good example for developing online interactive trading systems. You can even add some more complex logics into the workflow and extend the services around the work flow design to allow bargaining among traders.

The major features include:

Although I haven't finished the documentation and comments of the project, I have outlined some major features on my personal website including,

The major features of the project include:

1. A state machine work flow design, which is working as a simplified order process system:

*1.1. Clients place orders

*1.2. Managers approve or refuse the orders

*1.3. Clients and Managers getting notified of each process step.

2. A singleton instanced WCF duplex service.

3. An external data exchange service bridging the workflow instances and the WCF service.

4. Self hosted WCF server (WinForm, easy to change to Windows Service if needed) with duplex TCP binding and Silverlight duplex polling binding (custom binding)

5. Cross domain access policy file hosted on the same WCF server, working as a cross domain access policy service.

6. A WPF client

7. A Silverlight client

http://lixin.info/post/2009/11/24/Source-code-of-a-demo-on-Windows-Workflow-(state-machine)-duplex-WCF-services(TCP-duplex-and-Silverlight-polling)-WPF-and-Silverlight.aspx

Hope this helps if you have downloaded the source code.

Last edited Dec 4, 2009 at 12:07 AM by lixin, version 9