<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>kennyw.com &#187; Workflow</title>
	<atom:link href="http://kennyw.com/category/workflow/feed" rel="self" type="application/rss+xml" />
	<link>http://kennyw.com</link>
	<description>Kenny Wolf's Thoughts of the Moment</description>
	<lastBuildDate>Tue, 26 Jan 2010 13:48:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>On Sabbatical</title>
		<link>http://kennyw.com/work/indigo/417</link>
		<comments>http://kennyw.com/work/indigo/417#comments</comments>
		<pubDate>Tue, 06 Oct 2009 06:39:46 +0000</pubDate>
		<dc:creator>Kenny</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Indigo]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://kennyw.com/work/indigo/417</guid>
		<description><![CDATA[I haven’t posted here for awhile as I’ve been preparing for, and then starting, my sabbatical. While I will occasionally cross post here, those interested in following along over the next year should tune into http://lawolf.net/.
]]></description>
			<content:encoded><![CDATA[<p>I haven’t posted here for awhile as I’ve been preparing for, and then starting, my sabbatical. While I will occasionally cross post here, those interested in following along over the next year should tune into <a href="http://lawolf.net/">http://lawolf.net/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kennyw.com/work/indigo/417/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Threading in WF 4</title>
		<link>http://kennyw.com/work/workflow/381</link>
		<comments>http://kennyw.com/work/workflow/381#comments</comments>
		<pubDate>Wed, 15 Jul 2009 22:20:32 +0000</pubDate>
		<dc:creator>Kenny</dc:creator>
				<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://kennyw.com/work/workflow/381</guid>
		<description><![CDATA[A number of customers have asked about the threading model used for WF 4. In brief, our extensibility for threading in the WF Runtime is based on System.Threading.SynchronizationContext. 
When a execution is kicked off (indirectly through ActivityRuntime.Run), we will first call SynchronizationContext.OperationStarted(). Next we will call SynchronizationContext.Post() to get on a “workflow” thread.
We will then [...]]]></description>
			<content:encoded><![CDATA[<p>A number of customers have asked about the threading model used for WF 4. In brief, our extensibility for threading in the WF Runtime is based on <a href="http://msdn.microsoft.com/en-us/library/system.threading.synchronizationcontext.aspx">System.Threading.SynchronizationContext</a>. </p>
<p>When a execution is kicked off (indirectly through <em>ActivityRuntime.Run</em>), we will first call <em>SynchronizationContext.OperationStarted()</em>. Next we will call <em>SynchronizationContext.Post()</em> to get on a “workflow” thread.</p>
<p>We will then execute any pending work items from our internal scheduler queue. It is possible that more work items will be scheduled (through <em>context.ResumeBookmark</em>, <em>context.ScheduleActivity</em> or activity completion). In that case, we will continue to execute those work items as well. Execution will remain on the “workflow thread” until we either go idle (no more work items), or the runtime is explicitly paused by the host through <em>ActivityRuntime.RequestPause </em>(which is what’s called underneath Unload() for example). When this happens, we will call <em>SynchronizationContext.OperationCompleted()</em>.</p>
<p>How you configure a SynchronizationContext depends on the host construct that you are using.</p>
<ol>
<li>For <a href="http://msdn.microsoft.com/en-us/library/system.servicemodel.activities.workflowservicehost(VS.100).aspx">WorkflowServiceHost</a>, we will use the the value of SynchronizationContext.Current at the time of workflowServiceHost.Open (unless <a href="http://msdn.microsoft.com/en-us/library/system.servicemodel.servicebehaviorattribute.usesynchronizationcontext.aspx">UseSynchronizationContext</a> is set to false). This is consistent with the rest of WCF.</li>
<li>WorkflowInvoker.Invoke/BeginInvoke has overloads where you can explicitly provide a SynchronizationContext for us to use</li>
<li>WorkflowInvoker.InvokeAsync will use the value of SynchronizationContext.Current for consistency with the Whidbey async pattern</li>
<li>WorkflowInstance has a constructor overload which allows you to explicitly provide a SynchronizationContext for us to use</li>
</ol>
<p>If no SynchronizationContext is provided by the host, we will use an internal WF default SynchronizationContext. The WF default SynchronizationContext uses IO completion ports under the hood to implement Post().</p>
]]></content:encoded>
			<wfw:commentRss>http://kennyw.com/work/workflow/381/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up SQL Persistence for WF4 Beta 1</title>
		<link>http://kennyw.com/work/workflow/350</link>
		<comments>http://kennyw.com/work/workflow/350#comments</comments>
		<pubDate>Thu, 11 Jun 2009 16:57:30 +0000</pubDate>
		<dc:creator>Kenny</dc:creator>
				<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://kennyw.com/workflow/350</guid>
		<description><![CDATA[A few customers have hit a speed bump when trying to setup persistence with WF4 Beta1. We have multiple sql scripts included (for 3.5 persistence and 4.0 persistence). The problem is that depending on your WF application model in Beta1 you have to execute different scripts (we’ve fixed this in Beta2).
For WorkflowServiceHost usage, use these [...]]]></description>
			<content:encoded><![CDATA[<p>A few customers have hit a speed bump when trying to setup persistence with WF4 Beta1. We have multiple sql scripts included (for 3.5 persistence and 4.0 persistence). The problem is that depending on your WF application model in Beta1 you have to execute different scripts (we’ve fixed this in Beta2).</p>
<p>For WorkflowServiceHost usage, use these SQL scripts:</p>
<ul>
<li>C:\Windows\Microsoft.NET\Framework\v4.0.20408\SQL\en\SqlPersistenceProviderSchema40.sql</li>
<li>C:\Windows\Microsoft.NET\Framework\v4.0.20408\SQL\en\SqlPersistenceProviderLogic40.sql</li>
</ul>
<p>For WorkflowInstance usage, use these SQL scripts (note the lack of “40”):</p>
<ul>
<li>C:\Windows\Microsoft.NET\Framework\v4.0.20408\SQL\en\SqlPersistenceProviderSchema.sql</li>
<li>C:\Windows\Microsoft.NET\Framework\v4.0.20408\SQL\en\SqlPersistenceProviderLogic.sql</li>
</ul>
<p>Also make sure that the connection string in your application matches the database you created. </p>
]]></content:encoded>
			<wfw:commentRss>http://kennyw.com/work/workflow/350/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WF4 Activity Palette</title>
		<link>http://kennyw.com/work/workflow/349</link>
		<comments>http://kennyw.com/work/workflow/349#comments</comments>
		<pubDate>Wed, 10 Jun 2009 18:44:00 +0000</pubDate>
		<dc:creator>Kenny</dc:creator>
				<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://kennyw.com/workflow/349</guid>
		<description><![CDATA[One of the investments we’ve made in WF4 is to increase the number of activities provided by the system. Leon has a nice overview of the activities included in Beta 1 here.
]]></description>
			<content:encoded><![CDATA[<p>One of the investments we’ve made in WF4 is to increase the number of activities provided by the system. Leon has a nice overview of the activities included in Beta 1 <a href="http://blogs.msdn.com/endpoint/archive/2009/05/29/a-tour-on-the-wf4-activity-palette.aspx">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kennyw.com/work/workflow/349/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ramping back up on the technical blog posts</title>
		<link>http://kennyw.com/work/indigo/348</link>
		<comments>http://kennyw.com/work/indigo/348#comments</comments>
		<pubDate>Wed, 10 Jun 2009 16:41:00 +0000</pubDate>
		<dc:creator>Kenny</dc:creator>
				<category><![CDATA[Indigo]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://kennyw.com/indigo/348</guid>
		<description><![CDATA[I’ve been pretty quiet recently on the technical blog front, mostly because my work was in the dark depths of development. A few weeks ago, we released Beta 1 of Visual Studio 2010 which includes all of the technologies I’ve been working on for the past 3 years  
One of the big components included [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been pretty quiet recently on the technical blog front, mostly because my work was in the dark depths of development. A few weeks ago, we released <a href="http://blogs.msdn.com/endpoint/archive/2009/05/20/vs-2010-and-net-framework-4-0-beta1-available-for-download.aspx">Beta 1 of Visual Studio 2010</a> which includes all of the technologies I’ve been working on for the past 3 years <img src='http://kennyw.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>One of the big components included in .Net 4.0 Beta1 is the WF4 framework that <a href="http://kennyw.com/indigo/318">I unveiled at PDC</a>. The team is blogging <a href="http://blogs.msdn.com/endpoint/default.aspx">here</a>, and I’ll be including ongoing tidbits for WF and WCF to help smooth out speed bumps encountered by our customers.</p>
]]></content:encoded>
			<wfw:commentRss>http://kennyw.com/work/indigo/348/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing custom languages</title>
		<link>http://kennyw.com/work/indigo/320</link>
		<comments>http://kennyw.com/work/indigo/320#comments</comments>
		<pubDate>Thu, 30 Oct 2008 19:16:02 +0000</pubDate>
		<dc:creator>Kenny</dc:creator>
				<category><![CDATA[Indigo]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://kennyw.com/indigo/320</guid>
		<description><![CDATA[I&#8217;m sitting in one of the coolest talks at PDC. ChrisAn &#38; GioDL are showing how you can use the nascent &#34;Oslo&#34; language technologies to write your own textual language. MGrammar has been described as yacc on crack. 
You should check it out (probably starting tomorrow) at: http://channel9.msdn.com/pdc2008/TL31/
UPDATE: You can download the SDK here and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sitting in one of the coolest talks at PDC. ChrisAn &amp; GioDL are showing how you can use the nascent &quot;Oslo&quot; language technologies to write your own textual language. MGrammar has been described as <a href="http://en.wikipedia.org/wiki/Yacc">yacc</a> on crack. </p>
<p>You should check it out (probably starting tomorrow) at: <a title="http://channel9.msdn.com/pdc2008/TL31/" href="http://channel9.msdn.com/pdc2008/TL31/">http://channel9.msdn.com/pdc2008/TL31/</a></p>
<p><strong>UPDATE</strong>: You can download the SDK <a href="http://msdn.microsoft.com/oslo">here</a> and start playing with writing your own custom language. Fun stuff!</p>
]]></content:encoded>
			<wfw:commentRss>http://kennyw.com/work/indigo/320/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slides for WF 4.0: A First Look</title>
		<link>http://kennyw.com/work/workflow/319</link>
		<comments>http://kennyw.com/work/workflow/319#comments</comments>
		<pubDate>Wed, 29 Oct 2008 22:41:31 +0000</pubDate>
		<dc:creator>Kenny</dc:creator>
				<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://kennyw.com/workflow/319</guid>
		<description><![CDATA[Slides should be available soon on Channel9. Until then, I&#8217;ve made them available here.
]]></description>
			<content:encoded><![CDATA[<p>Slides should be available soon on <a href="http://channel9.msdn.com/pdc2008/TL17">Channel9</a>. Until then, I&#8217;ve made them available <a href="http://kennyw.com/wp-content/TL17.kennyw.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kennyw.com/work/workflow/319/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WF 4.0: A First Look</title>
		<link>http://kennyw.com/work/indigo/318</link>
		<comments>http://kennyw.com/work/indigo/318#comments</comments>
		<pubDate>Wed, 29 Oct 2008 17:48:22 +0000</pubDate>
		<dc:creator>Kenny</dc:creator>
				<category><![CDATA[Indigo]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://kennyw.com/indigo/318</guid>
		<description><![CDATA[On Monday afternoon I unveiled WF 4.0 at PDC 2008. With this public disclosure you will start seeing a lot more details of the WF system here.
For those of you that were able to attend my session in person, please fill out the evaluation form (we&#8217;re currently at about 5% participation).
For those that couldn&#8217;t join [...]]]></description>
			<content:encoded><![CDATA[<p>On Monday afternoon I unveiled WF 4.0 at <a href="http://www.microsoftpdc.com/">PDC 2008</a>. With this public disclosure you will start seeing a lot more details of the WF system here.</p>
<p>For those of you that were able to attend my session in person, please fill out the <a href="https://sessions.microsoftpdc.com/ws/evalredir.aspx?sessionid=64ae4c30-eb37-4fe2-93c4-639e0e5879b8">evaluation form</a> (we&#8217;re currently at about 5% participation).</p>
<p>For those that couldn&#8217;t join me in person, the session was videotaped and is available at <a title="http://channel9.msdn.com/pdc2008/TL17/" href="http://channel9.msdn.com/pdc2008/TL17/">http://channel9.msdn.com/pdc2008/TL17/</a>. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://kennyw.com/work/indigo/318/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WCF talks at PDC</title>
		<link>http://kennyw.com/work/indigo/305</link>
		<comments>http://kennyw.com/work/indigo/305#comments</comments>
		<pubDate>Fri, 03 Oct 2008 15:56:51 +0000</pubDate>
		<dc:creator>Kenny</dc:creator>
				<category><![CDATA[Indigo]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://kennyw.com/indigo/305</guid>
		<description><![CDATA[Matt posted a great description of the WCF (and WF) talks we&#8217;re giving at PDC. 
In particular there are two sessions that I&#8217;d like to call out.
The first is Ed Pinto&#8217;s session, where you&#8217;ll find out about the significant investments we&#8217;ve made to improve the WCF authoring experience:
WCF 4.0: Building WCF Services with WF in [...]]]></description>
			<content:encoded><![CDATA[<p>Matt posted a great <a href="http://feeds.feedburner.com/~r/wfguy/~3/409736924/which-wf-wcf-talks-should-you-attend-at-pdc.aspx">description of the WCF (and WF)</a> talks we&#8217;re giving at PDC. </p>
<p>In particular there are two sessions that I&#8217;d like to call out.</p>
<p>The first is Ed Pinto&#8217;s session, where you&#8217;ll find out about the significant investments we&#8217;ve made to improve the WCF authoring experience:</p>
<blockquote><p><strong>WCF 4.0: Building WCF Services with WF in Microsoft .NET 4.0.</strong></p>
<p>Eliminate the tradeoff between ease of service authoring and performant, scalable services. Hear about significant enhancements in Windows Communication Foundation (WCF) 4.0 and Windows Workflow Foundation (WF) 4.0 to deal with the ever increasing complexity of communication. Learn how to use WCF to correlate messages to service instances using transport, context, and application payloads. See how the new WF messaging activities enable the modeling of rich protocols. Learn how WCF provides a default host for workflows exposing features such as distributed compensation and discovery. See how service definition in XAML completes the union of WF and WCF with a unified authoring experience that simplifies configuration and is fully integrated with IIS activation and deployment.</p>
</blockquote>
<p>Once you&#8217;ve built your services, you will need to deploy, host, and manage them.&#160; Windows Server &quot;Dublin&quot; handles this complexity, and Dan Eshner will unveil the details here:</p>
<blockquote><p><strong>Hosting Workflows and Services</strong></p>
<p>Hear about extensions being made to Windows Server to provide a feature-rich middle-tier execution and deployment environment for Windows Workflow Foundation (WF) and Windows Communication Foundation (WCF) applications. Learn about the architecture of this new extension, how it works, how to take advantage of it, and the features it provides that simplify deployment, management, and troubleshooting of workflows and services.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://kennyw.com/work/indigo/305/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PDC 2008</title>
		<link>http://kennyw.com/work/indigo/293</link>
		<comments>http://kennyw.com/work/indigo/293#comments</comments>
		<pubDate>Mon, 15 Sep 2008 22:41:47 +0000</pubDate>
		<dc:creator>Kenny</dc:creator>
				<category><![CDATA[Indigo]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://kennyw.com/indigo/293</guid>
		<description><![CDATA[I&#8217;ve gone dark on the technical side of this blog for two main reasons:

Most of what I&#8217;m working on hasn&#8217;t been publicly disclosed
I&#8217;m prepping for PDC 2008 where I can finally discuss the past 2 years of my life without an NDA  

If you want to see the latest and greatest Microsoft technologies that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve gone dark on the technical side of this blog for two main reasons:</p>
<ol>
<li>Most of what I&#8217;m working on hasn&#8217;t been publicly disclosed</li>
<li>I&#8217;m prepping for <a href="http://www.microsoftpdc.com/">PDC 2008</a> where I can finally discuss the past 2 years of my life without an NDA <img src='http://kennyw.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p>If you want to see the latest and greatest Microsoft technologies that we&#8217;ve been cooking up, <a href="http://www.microsoftpdc.com/Registration/">register now</a>, and then mark your schedule for my talk:</p>
<blockquote><p><strong>Windows Workflow Foundation 4.0: A First Look</strong></p>
<p>Programs coordinate work. The code for coordination and state management often obscures a program&#8217;s purpose. Learn how programming with Windows Workflow Foundation (WF) 4.0 provides clarity of intent while preserving the functional richness of the .NET framework. See how easy it is to build workflows with the new Visual Studio workflow designer. Learn about text-based authoring options for WF. Hear how WF integrates well with other Microsoft technologies (WCF, WPF, ASP.NET). If you&#8217;ve looked at WF before, come and see the changes to data flow, composition, and new control flow styles. Significant improvements to usability, composability, and performance make Workflow a great fit for a broad range of solutions on both the client and the server.</p>
</blockquote>
<p>Other great (and related) talks include <a href="http://douglaspurdy.com/2008/09/06/what-is-oslo/">Doug Purdy</a>&#8217;s Lap Around Oslo, <a href="http://blogs.msdn.com/mwinkle/">Matt</a>&#8217;s Building WF Activities session, and <a href="http://blogs.msdn.com/edpinto/">Ed</a>&#8217;s chocolate &amp; peanut butter talk on WCF+WF.</p>
<p>41 days and counting&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://kennyw.com/work/indigo/293/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
