Daniel Vaughan

free range code

Clog 1.1 Beta Released

clock May 18, 2008 10:47 by author Daniel Vaughan

 

The latest version of Clog has been released. This version provides support for Silverlight 2 Beta 1.

 Some remaining work items:

  • Enhance the Log viewer as more data can be displayed for log entries.
  • Create further unit tests for asynchronous scenarios.

 



Dispelling the Single Workflow Runtime Fallacy

clock May 18, 2008 10:13 by author Daniel Vaughan

Like me, you may have read in various books and articles that there exists a restriction of one WorkflowRuntime instance for each App Domain. This is, in fact, not true. In an early beta release of WF such a restriction existed, and this fact has been perpetuated even though the restriction has long since been removed.

The following code sample is a simple demonstration to show that there is no problem creating multiple WorkflowRuntime instances. 

The Workflow1 class contains a code activity that writes a message to console and a delay activity that pauses for five seconds.

 

And the result:

 

 

Download the sample code: MultiRuntime.zip (27.55 kb)

 

 

Thanks go out to my learned colleague, Jeff Brokenshire, who brought it to my attention and pointed me to this blog post.




Windows Phone Experts Windows Phone Experts
LinkedIn Group

 

About the author

Daniel VaughanDaniel Vaughan is a Microsoft MVP for Client Application Development, with a decade of commercial experience across a wide range of industries including finance, e-commerce, and multimedia. While originally from Australia and the UK, Daniel is currently based in Geneva Switzerland; consulting on Windows Phone 7, WPF, Silverlight, WCF, and WF. Daniel is a Silverlight and WPF Insider, a member of the WPF Disciples, and a CodeProject MVP. Daniel is currently writing Windows Phone 7.5 Unleashed, which is due out in early 2011. Daniel is also the creator of a number of open-source projects, including Calcium, and Clog. E-mail me Send mail

 

Microsoft MVP logo Disciple
CodeProject MVP
WPF and Silverlight Insiders

 

 

Books

Order Windows Phone 7 Unleashed

RecentComments

Comment RSS

Sign in