Workflow TV - Lab Introduction to WF4: Exercise 4 - Dynamic Workflows with XAML

Sign in to queue

The Discussion

  • User profile image
    malawto

    And at the end, after you've set your SayHello.xaml file properties -- you'll also want to change back Main in Program.cs:

     

      static void Main(string[] args)
            {
                WorkflowInvoker.Invoke(new SayHelloInCode());
            }

    From where it had been set in Task 4.2 to:

     

    static void Main(string[] args)
    {
        WorkflowInvoker.Invoke(ActivityXamlServices.Load("SayHello.xaml"));
        Console.ReadKey(false);
    }
    static void Main(string[] args)
            {
                WorkflowInvoker.Invoke(ActivityXamlServices.Load("SayHello.xaml"));
                Console.ReadKey(false);
            }

    I'm loving this series of videos and exercises... thanks!

  • User profile image
    rojacobs

    Actually you don't have to do this.  In Exercise 5 Task 6 we modify Main() to do something different.

Add Your 2 Cents