Posts
  • xiaowen's blog

    Event-driven execution in WF 4.0 with the Pick activity

    • 0 Comments
    I’ve just posted a blog entry on implementing event-driven workflows using the Pick activity, which is new in WF 4.0.  Happy exploring and HAPPY NEW YEAR!
  • xiaowen's blog

    Team blog started

    • 0 Comments
    The team I’m on recently started a team blog here: English version: http://blogs.msdn.com/flow/ Mandarin Chinese version: http://blogs.msdn.com/cnflow/ A lot of the content will be similar, so you have a choice as to the language in which you consume...
  • xiaowen's blog

    AssemblyLine and a Dispatcher

    • 0 Comments
    A user at TechEd 2009 Beijing asked us about a very interesting scenario.  After we got back to work, Andrew, Karin, and I brainstormed about the best way to implement it. The scenario consists of a process with three stages that the user would like...
  • xiaowen's blog

    WF at TechEd Beijing 2009

    • 0 Comments
    I just got back yesterday from TechEd Beijing 2009 and it was a very exciting event.  Jian and I presented a breakout session on Windows Workflow Foundation 4.0 and even though it was held at 08:00 in the morning on the last day of the event, the...
  • xiaowen's blog

    Zen of WF for ASP.NET Scenarios

    • 0 Comments
    Why is WF appropriate for coordinating long-running work? Let's take a look. Scenario: a simple expense approval service. You work for the IT department of a business and your boss asks you to build an expense approval service. It has the do the following...
  • xiaowen's blog

    WF 4.0 Scheduler

    • 0 Comments
    (Standard disclaimer: I attempt to ensure accuracy, but if your cat dies as a result of this post, I take no responsibility.) Ever wondered how the WF scheduler works under the hood? Our workflows usually run exactly as expected (from a scheduling...
  • xiaowen's blog

    WF 4: Loading an Activity dynamically

    • 0 Comments
    WF programs in 4.0 beta 2 can be loaded dynamically at runtime instead of needing to be statically linked in.  Here’s an example: static void Main( string [] args) { using (FileStream fs = new FileStream( @"..\..\Workflow1.xaml" , FileMode...
  • xiaowen's blog

    WCF/WF Samples released

    • 0 Comments
    Hot off the presses, and no lines to wait through: WCF/WF 4.0 Beta2 samples contain the best info about how to use the goodness http://go.microsoft.com/fwlink/?LinkId=150780 .
  • xiaowen's blog

    Threadedness in WF

    • 0 Comments
    I stumbled upon this post by Nate Talbert http://blogs.msdn.com/advancedworkflow/archive/2006/02/23/538160.aspx explaining why a workflow instance is single-threaded. Some of the exact implementation details are a little bit out-of-date now that WF 4...
  • xiaowen's blog

    Using the .NET Access Control Service from PHP

    • 0 Comments
    Our PM intern has written an excellent demo showing how to leverage the .NET Access Control Service to perform control permissions to a resource. Here it is in his own words. A major use of .NET Access Control Service is to provide authorization for your...
  • xiaowen's blog

    Tip: add a clock skew to prevent some security faults

    • 0 Comments
    The .NET Access Control Service samples shipped with the .NET Services SDK assume that the computer running them have the system clock synchronized to Internet time. This is a fine assumption for many production servers, but developers testing at home...
  • xiaowen's blog

    The Earth Rover

    • 1 Comments
    Our wonderful dev intern Chao Shi spent some time on a robot demo originally created by our lead PM Justin Smith . He got it working last week, just in time for a presentation to almost 100 college students who visited our offices last Friday. We showed...
Page 1 of 1 (12 items)