How to load WF workflows dynamically

July 01, 2014 by Anuraj

.Net .Net 4.0 ASP.Net MVC WF Windows Forms WPF

This is post is about loading and running Workflow foundation (WF) XAML files. It is a powerful technique which can be used to change Workflows on the fly, without re-compiling the application. All this functionalities can be achieved via single line of code.

WorkflowInvoker.Invoke(ActivityXamlServices.Load("Activity1.xaml"));

Happy Programming :)

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub