<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Workflow TV - How To Build Workflow Services with a Database Repository</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository/RSS"></atom:link>
	<image>
		<url>http://ak.channel9.msdn.com/ch9/cfba/7bafa9a3-9f33-4965-b4e1-9f03016acfba/AppFabricWorkflowRepository_100_ch9.jpg</url>
		<title>Channel 9 - Workflow TV - How To Build Workflow Services with a Database Repository</title>
		<link></link>
	</image>
	<description>Customers often ask me How can I store my Workflow Service definitions (xamlx files) in a database with IIS and AppFabric? On this episode I&#39;ll show you how&amp;nbsp;you can create a VirtualPathProvider that enables you to build a Workflow respository with a database. Links Windows Workflow Foundation (WF4) - Workflow Service Repository Example How To Load WF4 Workflow Services from a Database with IIS/AppFabric Ron Jacobs http://blogs.msdn.com/rjacobs Twitter: @ronljacobs http://twitter.com/ronljacobs </description>
	<link></link>
	<language>en</language>
	<pubDate>Thu, 20 Jun 2013 00:20:14 GMT</pubDate>
	<lastBuildDate>Thu, 20 Jun 2013 00:20:14 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Workflow TV - How To Build Workflow Services with a Database Repository</title>
		<description>
			<![CDATA[ <p>Ron, first of all <strong>great post,</strong> secondly, maybe not the most accurate tittle, more than loading workflows definitions form the DB (.xaml file content) or any other way that it can &nbsp;be turned into some string value using the DynamicActivity method i.e:</p><p><span>var</span>&nbsp;<span>activity</span>&nbsp;<span>=</span>&nbsp;<span>ActivityXamlServices</span><span>.</span><span>Load</span>(<span>new</span>&nbsp;<span>StringReade(</span><span>wokflowToExecute</span>))&nbsp;<span>as</span>&nbsp;<span>DynamicActivity</span>;</p><p><span>This is an elegant workaround to implement service partitioning on WF, back in the<br>beta I asked something like that <a href="http://social.msdn.microsoft.com/Forums/en/wfprerelease/thread/41ecf7c5-8c74-4ec9-9bdf-437015b17ceb">http://social.msdn.microsoft.com/Forums/en/wfprerelease/thread/41ecf7c5-8c74-4ec9-9bdf-437015b17ceb</a></span></p><p><span>The &quot;<em><span>limitation&quot; </span></em>of one WorkflowServiceHost per WF service is one of the reasons I decided to no<br>use WF services on one of our company's main solutions, given the number of services to implement, using WCF routing wouldn't be as practical or maybe not a clean, and using pick activities would be irrational, so we used plain WCF instead.</span></p><p><span>Currently we have another interesting scenario and the approach you're following gives me another option on how to handle this situation, so, thanks Ron and keep up the good stuff coming.</span></p><p>posted by Enrique GC</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634438373620000000</link>
		<pubDate>Thu, 16 Jun 2011 16:09:22 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634438373620000000</guid>
		<dc:creator>Enrique GC</dc:creator>
	</item>
	<item>
		<title>Re: Workflow TV - How To Build Workflow Services with a Database Repository</title>
		<description>
			<![CDATA[ <p>I don't understand your comment about WorkflowServiceHost being limited.&nbsp; It is no different than a WCF ServiceHost.&nbsp; The WCF Service Host will host one service per host.&nbsp; The WF WorkflowServiceHost will host one workflow per host.</p><p>However, you can have multiple services and workflow services in you web application.&nbsp; In fact you don't really deal with the WorkflowServiceHost or ServiceHost classes unless you are self-hosting so they are just another part of the infrastructure most of the time.</p><ul><li>WCF services have a collection of operations </li><li>WF services also have a collection of operations </li></ul><p>The main difference is that the WF service can enforce a messaging protocol with certain operations being available only at certain times.</p><p>My guess is that if you can build your solution with WCF services you can also build it with workflow services.</p><p>posted by rojacobs</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634438588240000000</link>
		<pubDate>Thu, 16 Jun 2011 22:07:04 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634438588240000000</guid>
		<dc:creator>rojacobs</dc:creator>
	</item>
	<item>
		<title>Re: Workflow TV - How To Build Workflow Services with a Database Repository</title>
		<description>
			<![CDATA[ <p>Hi Ron, I thought about this idea some time ago, the problem that I found is the config file, this kind of file can´t be provided by a VirtualPathProvider, so is needed to use pre-defined configs, losing flexibility with this. <br>What do you think about? Do you have some idea or workaround?</p><p>Regards</p><p>posted by Gustavo_</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634438688620000000</link>
		<pubDate>Fri, 17 Jun 2011 00:54:22 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634438688620000000</guid>
		<dc:creator>Gustavo_</dc:creator>
	</item>
	<item>
		<title>Re: Workflow TV - How To Build Workflow Services with a Database Repository</title>
		<description>
			<![CDATA[ <p>Can provide a web.config with the VirtualPathProvider?&nbsp; I didn't know that.</p><p>I wonder if you could support a VirtualDirectory and then place a web.config file in the VirtualDirectory with the config you need if that would work.</p><p>It would be worth a try.</p><p>posted by rojacobs</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634439230750000000</link>
		<pubDate>Fri, 17 Jun 2011 15:57:55 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634439230750000000</guid>
		<dc:creator>rojacobs</dc:creator>
	</item>
	<item>
		<title>Re: Workflow TV - How To Build Workflow Services with a Database Repository</title>
		<description>
			<![CDATA[Hi Ron, Good post.<br>I have almost same kind of requirement in our project, but we are using Oracle 11g. Will Oracle 11g support to store workflow service&#63; If so what are all changes needs to be done&#63;<br><br>Regards<br>Ramesh<p>posted by Ramesh</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634441533650000000</link>
		<pubDate>Mon, 20 Jun 2011 07:56:05 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634441533650000000</guid>
		<dc:creator>Ramesh</dc:creator>
	</item>
	<item>
		<title>Re: Workflow TV - How To Build Workflow Services with a Database Repository</title>
		<description>
			<![CDATA[ <p>You can store the workflow definitions in Oracle - I'm using Entity Framework 4.1 in my code so you would need a provider that works with Entity Framework.</p><p>However, at this time we do not have a Workflow persistence provider for Oracle.&nbsp; You won't need this unless your workflows are long running.</p><p>posted by rojacobs</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634441897730000000</link>
		<pubDate>Mon, 20 Jun 2011 18:02:53 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634441897730000000</guid>
		<dc:creator>rojacobs</dc:creator>
	</item>
	<item>
		<title>Re: Workflow TV - How To Build Workflow Services with a Database Repository</title>
		<description>
			<![CDATA[Thanks for your quick reply.<br><br>Can I implement BPM using State Machine WF&#63;<br><br>Here is the scenario I would like to implement...<br>Step 1&#58; Create Purchase Request &#40;PR&#41;. State of PR at this stage is &#34;Created&#34;.<br><br>Step 2&#58; On Step1, WF should assign a task to &#34;Purchase Manager&#34;. <br><br>Step 3&#58; When Purchase Manager logs into to system, in his dashboard this task should be visible. At this stage he will have two actions &#34;Approve&#34; and &#34;Reject&#34;.<br><br>Step 4&#58; On click of &#34;Approve&#34;, again task should assign to Finance Manager. On click of &#34;Reject&#34; the PR state changes to &#34;Rejected&#34;<br><br>Step 5&#58; When Finance Manager logs in task should be visible in his dashbaord with &#34;Approve&#34; and &#34;Reject&#34; actions.<br><br>Step 6&#58; On click of &#34;Approve&#34; Purchase Request state should change from &#34;Created&#34; to &#34;Approved&#34;. On click of &#34;Reject&#34; the PR state changes to &#34;Rejected&#34;<br><br>What do you think about&#63; Will this can be implemented in WF 4.0&#63;<br><br>Regards<br>Ramesh<br> <br><p>posted by Ramesh</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634442546540000000</link>
		<pubDate>Tue, 21 Jun 2011 12:04:14 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634442546540000000</guid>
		<dc:creator>Ramesh</dc:creator>
	</item>
	<item>
		<title>Re: Workflow TV - How To Build Workflow Services with a Database Repository</title>
		<description>
			<![CDATA[Any update on the above&#63;<br><br>Regards<br>Ramesh<p>posted by Ramesh</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634443149850000000</link>
		<pubDate>Wed, 22 Jun 2011 04:49:45 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Workflow-TV/AppFabrictv-How-To-Build-Workflow-Services-with-a-Database-Respository#c634443149850000000</guid>
		<dc:creator>Ramesh</dc:creator>
	</item>
</channel>
</rss>