This post is the third in a series on building an Enterprise Workflow System using WF4. Previously we discussed how to get the activity authoring experience for workflow service authors by using a custom WorkflowServiceHostFactory to tell the WorkflowServiceHost to … Continued
C#
Hosting an Activity as a Service using the WorkflowServiceHostFactory
This is the second post in a series about Building an Enterprise Workflow system with WF4. In the previous post we discussed how the default workflow service design experience wasn’t really what we would want for an enterprise workflow system. … Continued
Code and slides for TechEd NZ 2011–DEV 404 Hardcore Workflow
Below are the slides and the code for the talk Stef and I did at Teched NZ 2011. I hope to do a post in the future explaining this in more detail. EnterpriseWorkflowDemo.zip DEV404-HardCoreWorkflow4.pptx
Getting Entity Framework and MySQL to play nice on my Hosting Provider
After moving my blog to wordpress, I decided to update the recent posts section on my main site to point to the wordpress repository instead of the old SubText one. SubText was using MSSQL but WordPress is using MySQL so … Continued
Code and slides for Dev208 at Tech Ed NZ
Here are the slides and demos for the Tech Ed NZ talk Stef and I did on Intro to Workflow 4. It includes the Approval Sample we didn’t manage to fit in. P.S. I know this blog sucks in IE, … Continued
Workflow 4: Human based workflows with an Email Approval Sample
One of the questions that a lot of people ask about workflow 4 is how to integrate manual tasks into the workflow process so that humans can be involved and interact with the workflow process. After all, what use is … Continued
Unit Test Workflow 4 Activities : Dependency Injection
At first glance unit testing workflow activities with dependency injection seems like a no-brainer. For example consider the following activity using constructor-based dependency injection. public class SendEmail : CodeActivity { private readonly IEmailClient emailClient; public SendEmail() : this(new EmailClient()) {} … Continued
Unit Testing Workflow 4 Activities : The TestContext Tracking Participant
I’m a big believer in using TestContext in MSTest or Console.WriteLine, Debug.WriteLine etc in your favourite Unit Testing framework to give context to passed or failed tests. Especially if you do CI and have only the test results to look … Continued
Unit Testing Workflow 4 Activities : Basics
Unit testing workflows became a lot easier in WF4. The basic approach is the same as for normal code classes except for a few differences which we will cover in the posts in this series. Lets start off with a … Continued
NHibernate – Custom User Types and Collections
NHibernate is an extremely powerful ORM but sometimes its quite difficult to find information on how to do certain things and why other things are the way they are. Recently I’ve been working on generating NHibernate mapping files and a … Continued