<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How To Load WF4 Workflow Services from a Database with IIS/AppFabric</title><link>http://blogs.msdn.com/b/appfabric/archive/2011/06/16/how-to-load-wf4-workflow-services-from-a-database-with-iis-appfabric.aspx</link><description>Cross Post from Ron Jacobs blog This morning I saw a message post on the .NET 4 Windows Workflow Foundation Forum titled Load XAMLX from database .&amp;#160; I’ve been asked this question many times. How can I store my Workflow Service definitions (xamlx</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How To Load WF4 Workflow Services from a Database with IIS/AppFabric</title><link>http://blogs.msdn.com/b/appfabric/archive/2011/06/16/how-to-load-wf4-workflow-services-from-a-database-with-iis-appfabric.aspx#10241347</link><pubDate>Thu, 24 Nov 2011 18:17:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10241347</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Hi Ron... this is working like a charm. &lt;/p&gt;
&lt;p&gt;However, is there a way I can use the WorkflowServiceHostFactory while using this VirtualPathProvider?&lt;/p&gt;
&lt;p&gt;Any idea, please let me know.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10241347" width="1" height="1"&gt;</description></item><item><title>re: How To Load WF4 Workflow Services from a Database with IIS/AppFabric</title><link>http://blogs.msdn.com/b/appfabric/archive/2011/06/16/how-to-load-wf4-workflow-services-from-a-database-with-iis-appfabric.aspx#10204423</link><pubDate>Thu, 01 Sep 2011 15:58:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10204423</guid><dc:creator>JimW</dc:creator><description>&lt;p&gt;To answer the question I posted, I found that a wsHttp service is created for the xamlx at http://&amp;lt;host&amp;gt;/xaml/&amp;lt;wfname&amp;gt;.xmalx/System.ServiceModel.Activities_IWorkflowInstanceManagement&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10204423" width="1" height="1"&gt;</description></item><item><title>re: How To Load WF4 Workflow Services from a Database with IIS/AppFabric</title><link>http://blogs.msdn.com/b/appfabric/archive/2011/06/16/how-to-load-wf4-workflow-services-from-a-database-with-iis-appfabric.aspx#10200991</link><pubDate>Fri, 26 Aug 2011 20:33:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10200991</guid><dc:creator>Ron Jacobs</dc:creator><description>&lt;p&gt;@ashish The service would still emit tracking events in the monitoring store but as you point out AppFabric would not display it as a service or offer control operations on it.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10200991" width="1" height="1"&gt;</description></item><item><title>re: How To Load WF4 Workflow Services from a Database with IIS/AppFabric</title><link>http://blogs.msdn.com/b/appfabric/archive/2011/06/16/how-to-load-wf4-workflow-services-from-a-database-with-iis-appfabric.aspx#10197473</link><pubDate>Thu, 18 Aug 2011 18:59:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10197473</guid><dc:creator>ashish</dc:creator><description>&lt;p&gt;i am wondering how we would use appfabric with this type of sitiuation, in case we want to monitor or persist a service, since these services are not visible through IIS in Appfabric dashboard&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10197473" width="1" height="1"&gt;</description></item><item><title>re: How To Load WF4 Workflow Services from a Database with IIS/AppFabric</title><link>http://blogs.msdn.com/b/appfabric/archive/2011/06/16/how-to-load-wf4-workflow-services-from-a-database-with-iis-appfabric.aspx#10194890</link><pubDate>Thu, 11 Aug 2011 15:50:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10194890</guid><dc:creator>Ron Jacobs</dc:creator><description>&lt;p&gt;Thanks Jim! &amp;nbsp;No I don&amp;#39;t know why returning null works.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10194890" width="1" height="1"&gt;</description></item><item><title>re: How To Load WF4 Workflow Services from a Database with IIS/AppFabric</title><link>http://blogs.msdn.com/b/appfabric/archive/2011/06/16/how-to-load-wf4-workflow-services-from-a-database-with-iis-appfabric.aspx#10194883</link><pubDate>Thu, 11 Aug 2011 15:38:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10194883</guid><dc:creator>Jim Wallace</dc:creator><description>&lt;p&gt;Thanks for the great sample. &amp;nbsp;I found that adding the GetCacheDependency override allows you to avoid having the xaml folder, but using sample code gets an error. &amp;nbsp;The link &lt;a rel="nofollow" target="_new" href="http://forums.asp.net/t/1289756.aspx"&gt;forums.asp.net/.../1289756.aspx&lt;/a&gt; said returning null works, which it does. &amp;nbsp;Do you have insight as to why that works?&lt;/p&gt;
&lt;p&gt;public override CacheDependency GetCacheDependency(string virtualPath,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IEnumerable virtualPathDependencies,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DateTime utcStart)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;if (IsPathVirtual(virtualPath))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return Previous.GetCacheDependency(virtualPath, virtualPathDependencies, utcStart);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10194883" width="1" height="1"&gt;</description></item></channel></rss>