Ron Jacobs

Windows Workflow Foundation

Posts
  • Ron Jacobs

    How to clear and reinitialize Windows Server AppFabric Persistence and Monitoring databases

    • 0 Comments
    If you are using Windows Server AppFabric in a development or testing environment you will find the need to quickly clear and reinitialize both the persistence and monitoring databases. Fortunately this is easy with the supplied PowerShell cmdlets...
  • Ron Jacobs

    Creating a State Machine in Code

    • 4 Comments
    Lots of people create state machines.  There are many examples on the web of people who are building class libraries to make it easy to create a state machine.  These people typically don’t need (or want) to use a workflow designer or see a...
  • Ron Jacobs

    RESTful Services and Business Exceptions

    • 3 Comments
    Last week I had the privilege of speaking at MIX09.  My session RESTful Services for the Programmable Web with Windows Communication Foundation is already available for online viewing (pretty cool how fast they turned that around).  This morning...
  • Ron Jacobs

    Using Workflow Services and Silverlight Together

    • 3 Comments
    In my previous post on WorkflowServices, CanCreateInstance and Silverlight I shared with you some of the pain that I went through in building my first Silverlight / Workflow Services app. Much of this pain was just because I have not done a great deal...
  • Ron Jacobs

    Composite UI Application Block - today is the day

    • 2 Comments
    Today is the day… I can’t put it off any longer – I have to dive in and learn about the CAB. “What?” You say “You don’t know the CAB!” Hey… I’ve been busy. I thought I would keep a journal of notes on my experience in learning this – maybe...
  • Ron Jacobs

    WF4: How To Access Out Arguments

    • 0 Comments
    To get a value from your workflow you must access the dictionary of output arguments returned from the workflow. Note : This example is based on Visual Studio 2010 Beta 2 Consider a workflow that accepts two arguments Name Direction Argument Type UserName...
  • Ron Jacobs

    WF4 Advanced State Machine Stuff

    • 12 Comments
    So you want to know how the state machine really works? Take a look at the WF4 State Machine Explorer .  This sample is designed to show you how StateMachine works with activities. There are three transitions from State1. To State 2 which is triggered...
  • Ron Jacobs

    Windows Workflow in .NET 4 and Web Services

    • 1 Comments
    Today I published 10-4 episode 29: Workflow Web Services on our Channel 9 10-4 Show about Workflow Services in .NET 4 beta 1.  People have asked me why they would want to implement a web service with a workflow rather than with code using WCF. ...
  • Ron Jacobs

    WF4 Workflow Versioning Spike

    • 6 Comments
    Today I’m starting on another spike project.  So far there are only questions to investigate, no answers.  I’m sharing my plans with you because I believe doing so might help some of you and I’m hopeful that you might share your insights with...
  • Ron Jacobs

    The Canonical REST Entity Service

    • 13 Comments
    Recently I was doing a review of some .NET 3.5 WCF REST code based on the REST Starter Kit to see what it would take to move it to .NET 4. The more I looked at the code and thought about it deeply I realized that the mechanics of exposing a service over...
  • Ron Jacobs

    WCF Deployment Challenge - Phase II deploy to IIS on local machine

    • 2 Comments
    I'm once again comparing the ASMX experience to the WCF experience.  In this phase I'm simply going to deploy the Hello World type service to IIS on the local machine and compare the two.  I'm using IIS 7 on Windows Vista SP1 for my test environment...
  • Ron Jacobs

    How to Unit Test a WorkflowService

    • 2 Comments
    Testing WorkflowServices is harder because you have to host the service somehow. There are several options you can use. You can host the service in IIS/AppFabric by configuring your project to use IIS You can try to insure that the local ASP...
  • Ron Jacobs

    Using Windows Workflow with WCF on a Load Balanced Server Farm

    • 5 Comments
    This morning I was in an interesting email thread with some of my Microsoft colleagues about the use of Windows Workflow Foundation (WF) on a load balanced server farm.  The question that started the whole thing was that a customer had asked their...
  • Ron Jacobs

    Record setting webcast!

    • 3 Comments
    Wohoo! The first webcast in the Entlib series set a record for our team with 564 people participating! You guys are awesome! There were so many questions we couldn't even begin to keep up. Then today we did the configuration webcast including another...
  • Ron Jacobs

    Exceptions vs. Error codes with Services

    • 7 Comments
    Here is an interesting question from the MSDN ArchitectureGeneral forum that I decided to answer. To throw exceptions or use error codes – that is thequestion… Since God has not handed down any commandments related tothis I think this is a...
  • Ron Jacobs

    How to add a reference to Microsoft.ApplicationServer.Caching.Client

    • 0 Comments
    If you are ready to test out the new caching capabilities in Windows Server AppFabric beta 2 you will have to write some code and you will need a reference to the caching client libraries. No problem, just select Add Reference and browse away right? ...
  • Ron Jacobs

    WF4 How To Invoke a Child Workflow as XAML

    • 0 Comments
    Recently somebody asked me how a workflow could invoke another workflow that is loaded as XAML from a file or a database. This is a common request so I’ve added an activity to Microsoft.Activities to support this. Update: If you want tracking...
  • Ron Jacobs

    Tracking WCF Data Services with Windows Server AppFabric

    • 6 Comments
    WCF Data Services provides a very simple model driven way to expose data using REST and the OData format. As I was preparing my talk for Tech-Ed on Implementing REST in .NET I was asking myself if there would be any value in using Windows Server AppFabric...
  • Ron Jacobs

    Partial Classes, Default Constructors – watch Out!

    • 3 Comments
    Recently I was working on some code where I was using classes generated by a tool.  I wanted to be able to construct one of these generated types from another type so I decided to use a constructor overload to support this. // From file SomeClass...
  • Ron Jacobs

    Want to Learn Windows Workflow 4 (WF4)?

    • 2 Comments
    Here are some great resources to get you started. Intro the WF4 Hands On Lab Intro to Workflow Services / AppFabric Hands On Lab (Part of the Visual Studio 2010 Training Kit ) Introduction to State Machine Hands On Lab AppFabric.tv / endpoint...
  • Ron Jacobs

    How To Unit Test Workflows–Mocking Activities

    • 0 Comments
    Suppose you want to unit test a workflow that has some external dependency like a database, web service, file or some other thing that makes testing inconvenient. The need to eliminate external dependencies when testing has led to a world of mocking frameworks...
  • Ron Jacobs

    WCF Data Services and ServiceRoute

    • 0 Comments
    After my previous post where I showed how you can eliminate the .SVC from your URI with WCF Data Services and System.Web.Routing I got a very good question “While this changes the root URI of the service that a user can browse to,does it also change the...
  • Ron Jacobs

    WCF Deployment Challenge

    • 8 Comments
    Join me as once again I tackle the learning curve of WCF with a deployment challenge.  Today - WCF vs. ASMX deployment. Note: As the new WCF evangelist I have to say that WCF is clearly the future of web services.  In fact, the WCF team owns...
  • Ron Jacobs

    How To Load WF4 Workflow Services from a Database with IIS/AppFabric

    • 2 Comments
    This morning I saw a message post on the .NET 4 Windows Workflow Foundation Forum titled Load XAMLX from database .  I’ve been asked this question many times. How can I store my Workflow Service definitions (xamlx files) in a database with IIS and...
  • Ron Jacobs

    AppFabric WCF HTTP Service Template

    • 8 Comments
    Windows Communication Foundation (WCF) is Microsoft’s unified programming model for building service-oriented applications. Windows Server AppFabric provides tools for managing and monitoring your web services and workflows. WCF HTTP Service is a service...
Page 3 of 14 (330 items) 12345»