<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://netfx3.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>WF Samples</title><link>http://netfx3.com/files/folders/wf_samples/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Debug Build: 61025.2)</generator><item><title>Rules Driven Pageflow</title><link>http://netfx3.com/files/folders/wf_samples/entry17276.aspx</link><pubDate>Wed, 26 Mar 2008 23:48:26 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:17276</guid><dc:creator>jamescon</dc:creator><slash:comments>0</slash:comments><description>&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Arial','sans-serif';"&gt;&amp;nbsp; 
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;"&gt;&lt;A class="" title=_Toc157437415 name=_Toc157437415&gt;&lt;/A&gt;&lt;A class="" title=_Toc134613890 name=_Toc134613890&gt;&lt;/A&gt;&lt;FONT face=Calibri&gt;&lt;SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:14pt;"&gt;Resource Description&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:14pt;"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:12pt;"&gt;&lt;O:P&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/O:P&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;"&gt;&lt;SPAN style="FONT-SIZE:12pt;"&gt;&lt;FONT face=Calibri&gt;Windows Workflow Foundation (WF) offers rules capabilities to the NetFx developer platform. RuleSets are collection of business rules with conditions and actions and they can be executed on any target object such as a Web application. In this sample we will show the stand alone functionality of rules in driving the page flow for a simple ASP.NET application. &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;"&gt;&lt;SPAN style="FONT-SIZE:12pt;"&gt;&lt;O:P&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/O:P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;"&gt;&lt;A class="" title=_Toc157437416 name=_Toc157437416&gt;&lt;/A&gt;&lt;A class="" title=_Toc134613894 name=_Toc134613894&gt;&lt;/A&gt;&lt;FONT face=Calibri&gt;&lt;SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:14pt;"&gt;Sample Usage&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE:14pt;"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;"&gt;&lt;SPAN style="FONT-SIZE:12pt;"&gt;&lt;O:P&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/O:P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="MARGIN-TOP:0in;"&gt;
&lt;LI class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;SPAN style="FONT-SIZE:12pt;mso-fareast-font-family:'Times New Roman';"&gt;&lt;FONT face=Calibri&gt;Run the setup.cmd provided with the ExternalRuleSetToolkit sample &lt;/FONT&gt;&lt;A class="" href="http://netfx3.com/files/folders/wf_samples/entry13387.aspx"&gt;&lt;FONT face=Calibri color=#0000ff&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri&gt;. This setup batch file will create Rules database on SQL Express and setup the Ruleset Table. This is a prerequisite to use this sample.&lt;/FONT&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;SPAN style="FONT-SIZE:12pt;mso-fareast-font-family:'Times New Roman';"&gt;&lt;FONT face=Calibri&gt;Open the WebSite and publish it to a specified location. For example - &lt;I&gt;C:\inetpub\wwwroot\HelpDeskSupport\. &lt;/I&gt;This will create the application dll. &lt;/FONT&gt;&lt;/SPAN&gt;
&lt;LI class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;SPAN style="FONT-SIZE:12pt;mso-fareast-font-family:'Times New Roman';"&gt;&lt;FONT face=Calibri&gt;Run the provided InsertRulesDrivenPageFlow.cmd which will invoke InsertRulesDrivenPageFlow.sql script. The script file will insert the serialized form of rulesets associated with this sample in the Ruleset Table created in the previous step. &lt;B&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;LI class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;SPAN style="FONT-SIZE:12pt;mso-fareast-font-family:'Times New Roman';"&gt;&lt;FONT face=Calibri&gt;Note that script assumes that &lt;I&gt;App_Web_tsypxcth.dll &lt;/I&gt;(application dll - The dll name can vary and hence change the SQL script accordingly) is located at &lt;I&gt;C:\Windows Workflow Foundation\bin\ &lt;/I&gt;and ExternalRuleSetToolkit validates this location. Please edit the InsertRulesDrivenPageFlow.sql script to include the desired path\name for the application dll before you run it.&lt;B&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;SPAN style="FONT-SIZE:12pt;mso-fareast-font-family:'Times New Roman';"&gt;&lt;FONT face=Calibri&gt;Run the solution and navigate through the pages by entering appropriate data wherever possible.&lt;/FONT&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;SPAN style="FONT-SIZE:12pt;mso-fareast-font-family:'Times New Roman';"&gt;&lt;FONT face=Calibri&gt;Run the ExternalRuleSetToolkit sample to view the HelpDeskSample rules stored in the database.&lt;/FONT&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN:0in 0in 0pt;mso-line-height-alt:11.0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;&lt;SPAN style="FONT-SIZE:12pt;mso-fareast-font-family:'Times New Roman';"&gt;&lt;FONT face=Calibri&gt;The connection to the database is defined in the Logic.cs and InsertRulesDrivenPageFlow.cmd.&amp;nbsp; If you wish to use a different database server, please change the connection in both places.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/SPAN&gt;</description><enclosure url="http://netfx3.com/files/folders/17276/download.aspx" length="223744" type="application/octet-stream" /></item><item><title>Rules in Excel (Updated for Office 2007)</title><link>http://netfx3.com/files/folders/wf_samples/entry13925.aspx</link><pubDate>Wed, 12 Dec 2007 20:59:42 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13925</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>This sample shows how you can use Visual Studio 2008 to create an Excel application that allows you to edit and define your rules inside of Excel.</description><enclosure url="http://netfx3.com/files/folders/13925/download.aspx" length="145276" type="application/x-zip-compressed" /></item><item><title>Alternate Persistence and Tracking Implementations</title><link>http://netfx3.com/files/folders/wf_samples/entry13412.aspx</link><pubDate>Thu, 15 Nov 2007 18:57:41 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13412</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>This codeplex project aims to provide "a fully functional generic persistence and tracking service with ADO implementations for SQL Server, Oracle and MySQL"</description><enclosure url="http://www.codeplex.com/WFTools/" length="67548" type="text/html; charset=utf-8" /></item><item><title>DinnerNow (.NET 3.0)</title><link>http://netfx3.com/files/folders/wf_samples/entry13400.aspx</link><pubDate>Thu, 15 Nov 2007 18:21:17 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13400</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;DinnerNow is a fictitious marketplace where customers can order food from local restaurants for delivery to their home or office. This sample is designed to demonstrate how you can develop a connected application using several new Microsoft technologies.&lt;BR&gt;&lt;BR&gt;The demo utilizes several technologies including: IIS7, ASP.NET Ajax Extensions, LINQ, Windows Communication Foundation, Windows Workflow Foundation, Windows Presentation Foundation, Windows PowerShell, and the .NET Compact Framework. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This sample is based on the .NET Framework 3.0&lt;/P&gt;</description><enclosure url="http://www.codeplex.com/DinnerNow/Release/ProjectReleases.aspx?ReleaseId=4602" length="116047" type="text/html; charset=utf-8" /></item><item><title>DinnerNow (.NET 3.5)</title><link>http://netfx3.com/files/folders/wf_samples/entry13399.aspx</link><pubDate>Thu, 15 Nov 2007 18:19:33 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13399</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;DinnerNow is a fictitious marketplace where customers can order food from local restaurants for delivery to their home or office. This sample is designed to demonstrate how you can develop a connected application using several new Microsoft technologies.&lt;BR&gt;&lt;BR&gt;The demo utilizes several technologies including: IIS7, ASP.NET Ajax Extensions, LINQ, Windows Communication Foundation, Windows Workflow Foundation, Windows Presentation Foundation, Windows PowerShell, and the .NET Compact Framework. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This version is based on the .NET Framework 3.5&lt;/P&gt;</description><enclosure url="http://www.codeplex.com/DinnerNow/Release/ProjectReleases.aspx?ReleaseId=6232" length="99166" type="text/html; charset=utf-8" /></item><item><title>UServ Product Derby End To End Rules Sample</title><link>http://netfx3.com/files/folders/wf_samples/entry13398.aspx</link><pubDate>Thu, 15 Nov 2007 18:15:30 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13398</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;The UServ Product Derby is an end-to-end scenario sample based on the UServ Product Derby Case Study used at the Business Rules Forum. In this sample, the WF Rules Engine is used to model the rules for some key scenarios in this case study and perform the processes in the company such as - &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Verification and approval of a new client application 
&lt;LI&gt;Determine the eligibility of a client to obtain vehicle insurance 
&lt;LI&gt;Determine the Premium for Vehicle Insurance&lt;/LI&gt;&lt;/UL&gt;</description><enclosure url="http://netfx3.com/files/folders/13398/download.aspx" length="913408" type="application/octet-stream" /></item><item><title>Processing XML with WF Rules</title><link>http://netfx3.com/files/folders/wf_samples/entry13396.aspx</link><pubDate>Thu, 15 Nov 2007 18:10:25 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13396</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>&lt;SPAN style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:'Calibri','sans-serif';mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;This sample shows how the WF Rules Engine can be used to process rules on Xml Documents.&lt;/SPAN&gt;</description><enclosure url="http://netfx3.com/files/folders/13396/download.aspx" length="206336" type="application/octet-stream" /></item><item><title>Custom Rule Actions</title><link>http://netfx3.com/files/folders/wf_samples/entry13395.aspx</link><pubDate>Thu, 15 Nov 2007 18:08:09 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13395</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;This sample shows how custom rule actions (derived from the RuleAction Type) can be defined and used in the Windows Workflow Foundation rules engine.&amp;nbsp; Three sample rule actions are provided which demonstrate how to perform the following actions from a rule:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Write text to the console 
&lt;LI&gt;Execute a RuleSet 
&lt;LI&gt;Queue an activity for execution&lt;/LI&gt;&lt;/OL&gt;</description><enclosure url="http://netfx3.com/files/folders/13395/download.aspx" length="542208" type="application/octet-stream" /></item><item><title>Custom Rule Expressions</title><link>http://netfx3.com/files/folders/wf_samples/entry13394.aspx</link><pubDate>Thu, 15 Nov 2007 18:07:36 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13394</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>&lt;SPAN&gt;This sample shows the definition and use of a custom expression in the Windows Workflow Foundation&amp;nbsp;rules engine.&amp;nbsp; Custom expressions are used to model specific predicate types or functions and can be used directly in the rules object model and editors&lt;/SPAN&gt;</description><enclosure url="http://netfx3.com/files/folders/13394/download.aspx" length="455680" type="application/octet-stream" /></item><item><title>Creating Rules Using the Object Model</title><link>http://netfx3.com/files/folders/wf_samples/entry13393.aspx</link><pubDate>Thu, 15 Nov 2007 18:05:51 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13393</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>This sample shows how to use the Windows Workflow Foundation (WF) Rules Object Model to create Rules directly using the APIs without using the designers.&amp;nbsp; The rules created are then executed by the WF Rules Engine. </description><enclosure url="http://netfx3.com/files/folders/13393/download.aspx" length="525312" type="application/octet-stream" /></item><item><title>Rules Driven UI with Tracing</title><link>http://netfx3.com/files/folders/wf_samples/entry13392.aspx</link><pubDate>Thu, 15 Nov 2007 18:00:21 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13392</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Windows Workflow Foundation (WF) offers rules capabilities to the .NET Framework 3.0 developer platform. RuleSets are collection of business rules with conditions and actions and they can be executed on any target object such as a Windows Form. This sample is a modification of the &lt;A href="http://wf.netfx3.com/files/folders/rules_samples/entry819.aspx"&gt;Rules Driven UI Sample&lt;/A&gt; where I added capabilities to show how you can utilize the System.Diagnostics traces to get information about rules execution. For more information on this specific modification, check &lt;A href="http://blogs.msdn.com/moustafa/archive/2006/08/05/689776.aspx"&gt;WF Rules Execution Tracing blog post&lt;/A&gt;. &lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description><enclosure url="http://netfx3.com/files/folders/13392/download.aspx" length="203776" type="application/octet-stream" /></item><item><title>Rules Driven UI</title><link>http://netfx3.com/files/folders/wf_samples/entry13391.aspx</link><pubDate>Thu, 15 Nov 2007 18:00:17 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13391</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>Windows Workflow Foundation (WF) offers rules capabilities to the WinFx developer platform. RuleSets are collection of business rules with conditions and actions and they can be executed on any target object such as a Windows Form. In this sample we will demonstrate this capability by using rulesets to pre-populate fields, do cross validation and various calculations on a target Windows Form. We will also show rules features such as forward chaining in this sample. </description><enclosure url="http://netfx3.com/files/folders/13391/download.aspx" length="237568" type="application/octet-stream" /></item><item><title>Collection Processing with Rules</title><link>http://netfx3.com/files/folders/wf_samples/entry13389.aspx</link><pubDate>Thu, 15 Nov 2007 17:56:47 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13389</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>&lt;P class=copyright0&gt;&lt;SPAN&gt;This sample illustrates the execution of rulesets against a collection of objects.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;This makes use of the techniques outlined in the Windows SDK documentation filed in the &lt;A href="http://windowssdk.msdn.microsoft.com/en-us/library/aa349356.aspx"&gt;&lt;FONT color=#800080&gt;Processing Collections&lt;/FONT&gt;&lt;/A&gt;.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=copyright0&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt;
&lt;P class=copyright0&gt;&lt;SPAN&gt;This Windows Forms application will execute a ruleset against either an array of objects, or against a collection of them.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;For additional information on how this sample works, please see &lt;A href="http://blogs.msdn.com/mwinkle/archive/2006/09/08/746929.aspx"&gt;&lt;FONT color=#e87e17&gt;my blog post on the topic&lt;/FONT&gt;&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;O:P&gt;
&lt;P&gt;Steps to get the application to work:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Download and extract the RulesWithCollectionSample 
&lt;LI&gt;Open the RulesWithCollectionSample solution and build it 
&lt;LI&gt;Download and extract the External RuleSet Toolkit, and create a rules database. 
&lt;LI&gt;Import the rules from the .rules file in the RulesWithCollectionSample folder (you will need to point it to the assemblies of the RulesWithCollectionSample solution that you just built) 
&lt;LI&gt;Save this to the rules database 
&lt;LI&gt;Make sure the app.config file points to the right rules database. 
&lt;LI&gt;Hit F5 to run, and you will be able to add numbers in one of two ways (via an array or a collection of objects)&lt;/LI&gt;&lt;/UL&gt;&lt;/O:P&gt;&lt;/SPAN&gt;</description><enclosure url="http://netfx3.com/files/folders/13389/download.aspx" length="174080" type="application/octet-stream" /></item><item><title>Ruleset Analyzer</title><link>http://netfx3.com/files/folders/wf_samples/entry13388.aspx</link><pubDate>Thu, 15 Nov 2007 17:54:26 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13388</guid><dc:creator>mwink</dc:creator><slash:comments>0</slash:comments><description>This sample uses the rules object model to analyze dependencies and execution plans for a ruleset.&amp;nbsp; This is a useful sample to debug and diagnose a complex ruleset.</description><enclosure url="http://netfx3.com/files/folders/13388/download.aspx" length="358912" type="application/octet-stream" /></item><item><title>External Ruleset Toolkit</title><link>http://netfx3.com/files/folders/wf_samples/entry13387.aspx</link><pubDate>Thu, 15 Nov 2007 17:53:55 GMT</pubDate><guid isPermaLink="false">22cb3c68-51a4-4807-862b-b83e614f664d:13387</guid><dc:creator>mwink</dc:creator><slash:comments>1</slash:comments><description>This sample was put together by the rules team to illustrate how rules can be externalized outside the workflow and live inside a SQL server.&amp;nbsp; This also shows how to rehost the rules designer, and execute the rule set outside of a WF.</description><enclosure url="http://netfx3.com/files/folders/13387/download.aspx" length="524800" type="application/octet-stream" /></item></channel></rss>