Shows - Workflow-TV


Workflow TV - Three Simple Rules for Better Debugging with WorkflowApplication[MP4] [0:21:55] [2012/07/10]
Developers often say that there is a steep learning curve with Windows Workflow Foundation (WF4). I won't deny that... instead, allow me to share three simple rules that will help you to get over…


Workflow TV - Tracking StateMachines[MP4] [0:05:16] [2012/04/10]
With WF3, a lot of people wrote apps that enabled/disabled controls based on the current state of a StateMachine and the possible transitions but to do this with WF4 you had to write a fair bit of…


Workflow TV - Building Multiple TargetFramework Version Libraries[MP4] [0:12:34] [2011/12/13]
Imagine you want to create a library that supports different versions of .NET. Of course there are multiple ways to do this but this is the technique that I have adopted for my CodePlex projects. In…


Workflow TV - Activity State Management[MP4] [0:07:28] [2011/10/28]
What do you do if you want to store state in an activity? Use a field? Be careful—you can get into trouble. In this episode, I show you the right way to manage state in Workflow Activities using…


Workflow TV - How to Invoke a Child Workflow[MP4] [0:12:32] [2011/09/29]
In this episode I'll show you our new and improved activities for loading XAML and invoking child workflows. About 6 months ago we did a first release of these activities and the feedback came back…


Workflow TV - How to create a Custom Activity Designer[MP4] [0:13:21] [2011/08/17]
Create custom activities with Windows Workflow Foundation is easy, but creating a fully featured activity designer is not quite as easy. In this episode I'll show you the tips and tricks of creating…


Workflow TV - State Machine Tutorial[MP4] [0:11:41] [2011/07/16]
In this video Steve Danielson, a Programming Writer on the WF team, gives a walkthrough of the WF4 State Machine Getting Started Tutorial from the MSDN documentation. Links Getting Started Tutorial…


Workflow TV - Workflow Services Security[MP4] [0:23:00] [2011/07/14]
Wondering how you can secure your Workflow Service? On this episode, I'm joined by Dave Cliffe who explains how Workflow Security works with WCF Security. Links: Windows Workflow Foundation (WF4) -…


Workflow TV - XAML and Activity Assembly Spoofing[MP4] [0:13:09] [2011/06/22]
What happens to a Workflow if an attacker can lure the workflow host into running XAML which references an assembly replaced by the attacker? This is what I call an Activity Assembly Spoofing attack.…


Workflow TV - How To Build Workflow Services with a Database Repository[MP4] [0:10:55] [2011/06/16]
Customers often ask me How can I store my Workflow Service definitions (xamlx files) in a database with IIS and AppFabric? On this episode I'll show you how you can create a VirtualPathProvider that…


Workflow TV - WF4 in the Real World - Microsoft Support ASP.NET MVC Wizard Framework[MP4] [0:33:13] [2011/05/12]
Wizards are a part of the web. Maybe you haven't thought of them as wizards, but multi-step processes such as checkout or registration are utilized by many websites. In this episode, Muhammad Usman…


Workflow TV - Microsoft.Activities, Unit Testing and Nuget[MP4] [0:12:07] [2011/05/07]
Our friends in the ASP.NET team have built a very cool infrastructure known a Nuget. It is a really great way to bring libraries that you want to use into your project. When I first saw it I thought…


Workflow TV - Advanced WF4 State Machine[MP4] [0:14:57] [2011/05/05]
If you want to get deep inside State Machine and understand how it works this episode is for you. I'm going to show you the details of how it schedules, executes and cancels child activities. For…


Workflow TV - Windows Workflow Foundation (WF4) - Workflow Services and Auto-Start[MP4] [0:14:04] [2011/04/28]
Have you ever wanted to create a Workflow that starts when the system boots, does some work and at the same time responds to query and stop messages? In this episode I'll show you the Windows…


Workflow TV - WF4 State Machine Hands On Lab: Exercise 4[MP4] [0:09:45] [2011/04/22]
In this episode I'm going to show you exercise 4 of the Windows Workflow Foundation (WF4) - Introduction to State Machine Hands On Lab. In this exercise we implement the Main Menu scenario where we…


Workflow TV - WF4 State Machine Hands On Lab: Exercise 3[MP4] [0:12:11] [2011/04/22]
In this episode I'm going to show you exercise 3 of the Windows Workflow Foundation (WF4) - Introduction to State Machine Hands On Lab. In this exercise we implement the PIN Entry scenario where we…


Workflow TV - WF4 State Machine Hands On Lab: Exercise 2[MP4] [0:14:53] [2011/04/22]
In this episode I'm going to show you exercise 2 of the Windows Workflow Foundation (WF4) - Introduction to State Machine Hands On Lab. In this exercise we implement the Card Inserted scenario with a…


Workflow TV - WF4 State Machine Hands On Lab: Exercise 1[MP4] [0:13:52] [2011/04/22]
In this episode I'm going to show you exercise 1 of the Windows Workflow Foundation (WF4) - Introduction to State Machine Hands On Lab. In this exercise we will focus on States and Entry / Exit…


Workflow TV - Getting Started With WF4 State Machine[MP4] [0:07:17] [2011/04/21]
The Windows Workflow Foundation (WF4) State Machine activity has officially shipped in the .NET Framework Platform Update 1 bits. In this episode I'll show you what you need to download to get…


Workflow TV - Versioning Spike (Part 3) Demo Promoted Properties Solution[MP4] [0:13:48] [2011/04/13]
In the next installment of the Versioning Spike Series I'm going to walk you through my test application that demonstrates the use of Promoted Properties to store extra information I need to make a…


Workflow TV - Versioning Spike (Part 2) The Problem Explained[MP4] [0:14:54] [2011/04/12]
Versioning is always a hard problem. When you add to this problem long running workflows then it gets really tricky. In this series I'm exploring possible solutions for versioning workflows and…


Workflow TV - WF4 Workflow Versioning Spike Project[MP4] [0:15:07] [2011/04/01]
Versioning is a hard problem. I have to admit I've been slow to address this but I've finally had enough. We have to come up with some kind of solution for you. At this point I don't have the…


Workflow TV - Parent / Child Workflows[MP4] [0:14:57] [2011/03/31]
Suppose you have a workflow that needs to call another workflow. How do you do it? In this episode, I show you how to do so by using the InvokeWorkflow activity of the Microsoft.Activities project.…


Workflow TV - Troubleshooting WF4 Workflow Services with Microsoft.Activities.UnitTesting[MP4] [0:14:03] [2011/03/18]
I recently received an email from an endpoint.tv viewer asking a question about why his Workflow Service didn't work properly. He sent me a repro and I could see that it wasn't working right but it…


Workflow TV - WF4 Collection Activities Example[MP4] [0:17:24] [2011/03/11]
I'm committed to building better samples. In this episode I'm going to show you a new sample for WF4 Collection Activities and some of the new things we are doing to make better samples for you. Ron…


Workflow TV - WF4 Custom Control Flow (Part 1)[MP4] [0:13:23] [2011/03/04]
In this episode I'm joined by Leon Welicki who will show ushow you can create your own custom control flow activities for Windows WorkflowFoundation (WF4). …


Workflow TV - Improving WF4 Performance with Activity Caching[MP4] [0:15:45] [2011/02/13]
Did you know by making one simple change you could improve the performance of your workflows by an order of magnitude? In this episode I'll show you some tips and tricks for making your workflows…


Workflow TV - WF4 Workflow Episodes - a Task Based API[MP4] [0:20:43] [2011/02/09]
In this episode I'll show you an experimental API prototype I created which allows you to invoke a workflow as a task using System.Threading.Task. The benefit of doing this is you get a much simpler…


Workflow TV - How to Unit Test a WF4 Workflow that calls a WCF Service[MP4] [0:16:34] [2011/01/21]
Yesterday morning I received an email from Ryo in Belgium who asked for help in unit testing a workflow. Ryo had read my previous posts on Microsoft.Activities.UnitTesting.XamlInjector and wanted to…


Workflow TV - WF4 Workflow Service Data Validation Design[MP4] [0:17:33] [2011/01/17]
Last episode I shared with you some thoughts about my 4 Tenets of Service Oriented Data Validation and I showed an example of using them with WCF. In this episode I'll walk through an updated version…


Workflow TV - How To Unit Test Activity Versioning[MP4] [0:18:20] [2011/01/13]
Before yesterday I had never contemplated how I could unit test the behavior of a system to insure that the correct version of assemblies were loaded. But then after the previous episodes where I…


Workflow TV - How To Make WF4 Load the Assemblies You Really Want[MP4] [0:13:26] [2011/01/11]
Last episode I shared with I found some surprising results about the way the WF4 resolves referenced assemblies in XAML. In this episode I'll show you the solution to this problem (also available on…


Workflow TV - WF4 XAML Assembly Resolution & The Case of the Unexpected Activity![MP4] [0:20:48] [2011/01/09]
While doing a little spike project on XAML Activity Resolution I found some surpising results about the way the WF4 resolves referenced assemblies in XAML. In this episode I'll show you the results…


Workflow TV - How to do Optional InArguments[MP4] [0:07:44] [2011/01/04]
Suppose you have an activity that has an optional InArgument<int> and the default value you want to use with this argument is not the default for the type, in this case zero. In this case I…


Workflow TV - A Better State Machine Driven WPF UI[MP4] [0:16:04] [2011/01/01]
I couldn't leave this one alone. While I was making the last episode I said that there was possibly another strategy for detecting states and transitions and that was to use Tracking data. In this…


Workflow TV - State Machine Driven WPF UI[MP4] [0:17:28] [2010/12/28]
In this episode I'll show you the new WF4 State Machine Driven WPF UI sample. This application uses a state machine to drive the UI enabling and disabling commands as the states change. I learned a…


Workflow TV - How to consume a WCF Service with WF4[MP4] [0:10:47] [2010/12/09]
This ought to be easy... unfortunately it is not as easy as it should be. In this episode I'll show you how you can consume a WCF service from WF4 by using a trick that I learned way back in the eary…


Workflow TV - New WF4 Caching Activities for Windows Server AppFabric[MP4] [0:04:51] [2010/12/08]
Windows Server AppFabric Caching is a great way to make your services more scalable by caching data in a distributed in-memory cache. I recently created a set of activities to expose the caching API…


Workflow TV - How to test activities and workflow services with XamlInjection[MP4] [0:13:24] [2010/10/17]
In our last episode I showed you the Contoso HR sample application. The Submit Application workflow coordinated database updates, sending of email and multiple web service calls. How can you unit…


Workflow TV - WF4 / AppFabric Contoso HR Sample[MP4] [0:22:02] [2010/10/08]
Wondering what the big deal is about Workflow? Wondering how you can use it to support a long running process in a web application? Want to see how Windows Server AppFabric can help? In this episode…


Workflow TV - WF4 Activities, Callbacks and Event Handlers[MP4] [0:11:09] [2010/09/30]
Suppose you want to create a workflow that needs to wait on a CLR event or callback. In this episode I'll show you how to create an Activity and a Workflow Extension that implements…


Workflow TV - Unit Testing Workflows[MP4] [0:25:10] [2010/09/15]
When we asked you what you wanted to see on endpoint.tv, one of the top three most requested topics was How to Unit Test Workflows.On this episode, I'll show you how to test Simple activities using…


Workflow TV - The FlowChart Activity[MP4] [0:28:28] [2010/09/08]
In this episode, we discuss the FlowChart activity. Sure, it looks simple—and in fact it is. Watch as Leon Welicki explains how you can use the new WF4 Flowchart activity to build workflows.The sample…


Workflow TV - AppFabric AutoStart and WF4 Batch Job Example[MP4] [0:07:07] [2010/09/03]
After the previous episode on the WF Batch Job example went live many people asked me if there was a way to automatically start a batch job at system boot. There is a way and I described it inthis…


Workflow TV - Workflow Services as a Batch Job[MP4] [0:14:31] [2010/09/01]
Sometimes you have work that you want to schedule for off-peak times or have happen on a recurring schedule, such as every 3 hours. While there are many ways to do this, Workflow Services are an…


Workflow TV - Workflow Services Security Pack [MP4] [0:20:00] [2010/08/09]
Some of the big gaps with Workflow Services have been in the area of security. In this episode, we will see the new Workflow Services Security Activity pack, which fills these holes, allowing you to…


Workflow TV - How to Make a WorkflowService Implement a Contract[MP4] [0:07:32] [2010/08/06]
WorkflowServices don't provide a way to implement a contract, but that doesn't mean you can't get them to look like they do. This is useful if you want to create a client proxy using a ChannelFactory.…


Workflow TV - CancellationScope Activity[MP4] [0:16:02] [2010/08/03]
One of the great things about using a Workflow is that you can define behaviors that will be applied when your workflow (or some part of it) is canceled.Activities, for example, can be canceled by the…


Workflow TV - Workflow and Custom Activities - Best Practices (Part 5) [MP4] [0:23:04] [2010/07/28]
In this episode, Windows Workflow Foundation team Program Manager Leon Welicki drops in to show us the team's guidelines for developing custom activities. In Part 5, we cover more Activity Design…


Workflow TV - Lab Introduction to WF4: Getting Started[MP4] [0:05:47] [2010/07/26]
I've created a new Hands On Lab prototype using the Feature Builder PowerTool for Visual Studio. In this epsiode I'll show you how you can download and get started with this hands on lab. I'd love…


Workflow TV - WF4 Designer in the Browser[MP4] [0:03:11] [2010/07/24]
People often ask me if there is a Silverlight version of the WF4 designer. Sadly the answer is no (at this moment) but if you want to get the WF4 designer in the brower you can do it as a WPF Browser…


Workflow TV - Workflow and Custom Activities - Best Practices (Part 4) [MP4] [0:30:25] [2010/07/23]
In this episode, Windows Workflow Foundation team Program Manager Leon Welicki drops in to show us the team's guidelines for developing custom activities. In Part 4, we cover more Activity Design…


Workflow TV - Lab Introduction to WF4: Exercise 7 - If/Else Logic[MP4] [0:04:12] [2010/07/23]
In this exercise, you will modify your SayHello activity to provide a generic greeting if the name is blank, otherwise it will provide a personalized greeting. The requirements for the SayHello…


Workflow TV - Lab Introduction to WF4: Exercise 5 - Testing Activities[MP4] [0:10:54] [2010/07/23]
In this exercise you will enhance your program and the SayHello activity to meet some new requirements. Generate a personalized greeting Provide unit tests to verify the personalized greeting Intro…


Workflow TV - Lab Introduction to WF4: Exercise 6 - WorkflowApplication[MP4] [0:11:07] [2010/07/23]
In this exercise, you will modify the host application to run your SayHello activity withWorkflowApplication and observe the threading behavior. You now have two requirements for your workflow. Return…


Workflow TV - Lab Introduction to WF4: Exercise 3 - The Code Activity[MP4] [0:04:13] [2010/07/23]
In the previous exercise you authored a new activity using the workflow designer and XAML. In this exercise you will create an activity that does the same thing in code. Intro To WF4 Hands On Lab…


Workflow TV - Lab Introduction to WF4: Exercise 4 - Dynamic Workflows with XAML[MP4] [0:05:51] [2010/07/23]
In this exercise you will see how you can load a XAML file and create a dynamic activity from the XAML definition. This allows you to load XAML at runtime and invoke it like you would do a…


Workflow TV - Lab Introduction to WF4: Exercise 2 - Refactoring Workflow[MP4] [0:03:54] [2010/07/23]
Even though you have a working application, you might want to make a few improvements. In this exercise, asWorkflow1 is not a very descriptive name, you will change it to SayHello and see how the…


Workflow TV - Lab Introduction to WF4: Exercise 1 - Hello Workflow[MP4] [0:03:31] [2010/07/22]
Workflows execute a business process. Each step in that process is implemented by anActivity. In this exercise, you will create and test a simple "Hello World" process using Windows…