Code Uploaded for WCF/WF and AppFabric Connect Demonstration

A few days ago I wrote a blog post explaining a sample solution that took data into a WF 4.0 service, used the BizTalk Adapter Pack to connect to a SQL Server database, and then leveraged the BizTalk Mapper shape that comes with AppFabric Connect.

I had promised some folks that I’d share the code, so here it is.

The code package has the following bits:

2011.4.13code01

The Admin folder has a database script for creating the database that the Workflow Service queries.  The CustomerServiceConsoleHost project represents the target system that will receive the data enriched by the Workflow Service.  The CustomerServiceRegWorkflow is the WF 4.0 project that has the Workflow and Mapping within it.  The CustomerMarketingServiceConsoleHost is an additional target service that the RegistrationRouting (instance WCF 4.0 Routing Service) may invoke if the inbound message matches the filter.

On my machine, I have the Workflow Service and WCF 4.0 Routing Service hosted in IIS, but feel free to monkey around with the solution and hosting choices.  If you have any questions, don’t hesitate to ask.

Comments

3 responses to “Code Uploaded for WCF/WF and AppFabric Connect Demonstration”

  1. Howard Edidin Avatar
    Howard Edidin

    Richard,

    The zip file does not exist.

    Thanks,

    Howard

    1. Richard Seroter Avatar

      Do’h! Bad link. Fixed now. Thanks for letting me know.

  2. […] The result?  A pretty clean Workflow that can be invoked as a WCF service.  Instead of using BizTalk for scenarios like this, Workflow Services provide a simpler, more lightweight means for doing simple data enrichment solutions.  By adding AppFabric Connect and the Mapper activity, in addition to the Persist capability supported by Windows Server AppFabric, you get yourself a pretty viable enterprise solution. [UPDATE: You can now download the code for this example via this new blog post] […]

Leave a reply to Howard Edidin Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.