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 code. In this episode I'll show you how you can take advantage of the new classes in Microsoft.Activities.Extensions that support tracking state machines and persisting the current state and possible transitions.
For more info see
Ron Jacobs twitter: @ronljacobs blog: http://blogs.msdn.com/rjacobs
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 this episode I'll show you the sample project I used to test out my targets files and how it works.
Ron Jacobstwitter: @ronljacobsblog: http://blogs.msdn.com/rjacobs
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 with some changes we needed to make. Now you can
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 an activity designer to get you up and running quickly.
Links
Ron Jacobshttp://www.ronjacobs.comtwitter: @ronljacobs
Workflow in the cloud... it's like a silver lining just waiting to happen. In this episode I'm joined by Josh Twist Workflow PM who will show you how you can use Workflow in Windows Azure AppFabric.
Ron Jacobs http://blogs.msdn.com/rjacobs Twitter: @ronljacobs http://twitter.com/ronljacobs
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.
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:
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. On this episode I'll show you how it can happen, what you need to know about the security model and what you can do to prevent it.
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 enables you to build a Workflow respository with a database.
Microsoft.Activities.Extensions is a library of cool stuff for Windows Workflow Foundation (WF4). You can add Microsoft.Activities.Extensions to your project using NuGet. In this episode I'll show you how we've updated the InvokeWorkflow activity to support tracking of child workflows and the new WorkflowArguments class which you can use with the C# dynamic keyword to easily create and manipulate dictionaries of arguments for your workflows.
Update: 12/3/11 Microsoft.Activities has been renamed to Microsoft.Activities.Extensions