Thoughts on Flowchart

Last night I saw that Maurice had a few tweets that caught my attention about flowchart, but this is the one that I want to talk about: Come to think of it I also really mis a parallel execution in a flowchart. But other than that flowcharts rock! #wf4 #dmabout 13    hours ago via web…

0

Improving ModelItem with Dynamic

Hi all, I’m back, and apologize for the delay, things have been crazy here and I’ve taken a little time off following shipping VS2010, so I’m getting back into it.  I’d like to talk about one of my favorite late additions to the WF4 designer programming model.  We added this change sometime in the RC/RTM…

0

VS 2010 RC Is Available

We’ve been hard at work here in Redmond (and with our team in Shanghai) working on getting WF ready for release.  We’ve made a ton of progress in the RC build that was made available yesterday, please download it and check it out.  Also, and in important bold text, if you have feedback, please, please,…

0

Making Swiss Cheese Look Good, or Designers for ActivityAction in WF4

In my last post, I covered using ActivityAction in order to provide a schematized callback, or hole, for the consumers of your activity to supply.  What I didn’t cover, and what I intend to here, is how to create a designer for that. If you’ve been following along, or have written a few designers using…

4

Swiss Cheese and WF4, or, An Introduction to ActivityAction

One common scenario that was often requested by customers of WF 3 was the ability to have templated or “grey box” or “activities with holes” in them (hence the Swiss cheese photo above).  In WF4 we’ve done this in a way that way we call ActivityAction Motivation First I’d like to do a little bit…

8

Inspection, Default Services and Items (WF4 EditingContext Intro Part 6)

This part 6 of my 6  part series on the EditingContext. Introduction Sharing Functionality between Designers  Host provided capabilities   Providing callbacks for the host  Subscription/Notification engine Inspection, Default Services and Items (you are here) I want to wrap up this series of posts by posting some code for an activity designer that functions more as…

0

Emitting the mc:Ignorable Instruction In Your WF4 XAML

Frequent forum guest Notre posed this question to the forums the other day noting that the XAML being produced from ActivityXamlServices.CreateBuilderWriter() was slightly different than the XAML being output from WorkflowDesigner.Save().  The reason for this stems from the fact that WorkflowDesigner leverages an additional internal type (which derives from XamlXmlWriter) in order to attach the…

1

AttachedProperty Part 2, Putting it Together

On my last post, Jason jumped right to the punchline in his comment here. He asks “if there is an easy way to have the properties value serialized out to the xaml.” First, let’s look at what we need to do from the XAML side. First, create a helper type with a getter and setter…

0

WF4 Design Time AttachedPropertiesService and Attached Properties

I’ve been meaning to throw together some thoughts on attached properties and how they can be used within the designer.  Basically, you can think about attached properties as injecting some additional “stuff” onto an instance that you can use elsewhere in your code. Motivation In the designer, we want to be able to have behavior…

3

WF4 ViewStateService

A comment posted by Notre asked for some more details about view state and attached property services, so I thought I would dive into those next.  I will follow-up in a subsequent post on the AttachedPropertyService, as there is a little bit more going on there. Motivation Why do I care about viewstate?  Well, usually…

2