WF 4.0: Déjà-Vu? Not So Far!


tags: , ,
no comments

I’ve worked a lot with WF 3.0 and WF 3.5 in the past, and I almost always ended up with some mixed feelings. On the one hand, WF is an amazing technology which allows you to do some pretty incredible things when you think about it – easily create a Domain-Specific Language (DSL) and allow domain experts to accurately model the business logic as they see fit in a graphic manner, just dragging-and-dropping some cubes around. Along with accompanying abilities to host the WF and allow it to communicate with the outer world it should be a definite winner.

On the other hand, when you start implementing your way around WF 3.5 – that’s exactly when all those annoying little problems start to come to life:

  1. Want to have a large WF with lots of activities? Better prepare for some sluggish WF designer experience.
  2. Want to flow a transaction into your WF? You can’t.
  3. Want to send a One-Way message over a One-Way WCF contract? That’s strange.
  4. Want to send a message and receive a reply? Prepare for some weird results.
  5. You get the point…

Examples are easily available, and it was of no surprise to me when I learned that Microsoft are preparing to rewrite the WF engine for .NET 4.0. The promises were loud, and the motivation was clear. However, as I attended this year’s PDC session on WF 4.0, I had this weird feeling of Déjà-Vu. Is history repeating itself? Are we getting the exact same product again? Have the issues been truly fixed? I had this uncomfortable feeling for a couple of weeks, until I finally had a chance to really dive deep into WF 4.0 – and the feeling just went away!

WF 4.0 brings many improvements over WF 3.0/3.5 (including deep WCF integration, enhanced performance and many more), however as far as I am concerned, the main improvement in WF 4.0 is the general feeling when using it – it is just easier and more streamlined to use with a lot less quirks and annoying behaviors. When combined with the hosting and management capabilities of Windows Server AppFabric Beta 1, this is definitely a winning technology.

How do I start with WF 4.0?

In the near future I plan to blog about some of my experiences with WF 4.0, WF services and AppFabric. Till than, I concentrated a list of resources I found useful for getting started with WF 4.0:

Anxious to know more?

Want to learn more on WF 4.0? Wish to see an AppFabric hosting demo live? Find out for yourself how easy it can be! Join Sasha’s and mine session on “Building Workflow Services with WF 4.0 and WCF 4.0” at the Sela Developer Practice (SDP).

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>