New Release Microsoft.Activities.UnitTesting 1.71

Just posted a new release of Microsoft.Activities.UnitTesting This release incorporates the Task Parallel Library to greatly simplify test code. Episodes You can now create a task that will run an episode of work in the workflow. An episode is simply a pulse of work that the workflow runs. For example an episode might look like…

0

Book Review: Windows Workflow Foundation 4 Cookbook

Andrew Zhu works for Microsoft in Shanghai and has been using WF4 since the very early days.  He frequently answers questions on our internal mailing list and on the WF Forums so when I heard that he was writing a book about WF4 I knew it would be a good one. I just got my…

0

WCF and AppFabric Auto-Start

Auto-start is a really cool feature of Windows Server AppFabric.  Recently I was asked about how you can do some kind of process initialization in your code with Auto-start (which the documentation implies that you can do).  This led to a discussion with a number of questions that we want to address What does Auto-start…

0

How to consume a WCF Service from a WF4 Workflow

Recently I saw a message on the WF4 Forum where someone was asking for help learning how to consume a WCF service from a Workflow. In this post I’m going to walk through how you can consume a WCF service from a Workflow where both the service and the workflow live in the same web…

3

New WF4 Caching Activities for Windows Server AppFabric

I’m happy to announce that we have just posted a “Labs” release on our http://wf.codeplex.com site with some new Caching Activities.  These activities work with Windows Server AppFabric Caching making it possible for you to use the cache directly from your workflow In this example I’m implementing the “Cache Aside” pattern where I first try…

0

TechEd Europe 2010 Sessions Now Available

I had a great time in Berlin speaking at TechEd Europe.   The recordings are now available if you want to watch. Using Workflow and Windows Server AppFabric in your Applications You have heard about Windows Server AppFabric but do you know what it is and what it includes? This session will show you: how to…

0

WCF How To–Configuration Based Activation

I was there when this feature was born.  It’s a long story but basically the idea is that you should be able to have a WCF service (or Workflow Service for that matter) without a SVC file. What is an SVC file? Simply put, an SVC file is configuration that lives in a file that…

2

WCF WebHttp Service returns HTTP 415 “Unsupported Media Type”

When I was developing my demos for PDC10 I ran into a problem.  I was using some new HTTP activities for the next release of WF and invoking a simple console application with an HTTP POST.  For some strange reason I ran into the following error Request POST http://127.0.0.1:8080/Marketing HTTP/1.1 Content-Type: application/xml Host: 127.0.0.1:8080 Content-Length:…

0

Interesting Twist on Auto starting a Workflow with IIS / AppFabric

Pablo Castilla contacted me about his take on auto starting a workflow with IIS and AppFabric. WF 4.0: How to automatically start a workflow by itself hosted in AppFabric It looks interesting.  I read the code but I have not tried it myself.  I thought I would share it with you – I’m interested to…

3

Want to Learn Windows Workflow 4 (WF4)?

Here are some great resources to get you started. Intro the WF4 Hands On Lab Intro to Workflow Services / AppFabric Hands On Lab (Part of the Visual Studio 2010 Training Kit) Introduction to State Machine Hands On Lab AppFabric.tv / endpoint.tv – countless episodes of video goodness WF4 Samples on MSDN Code Gallery WF4…

2