<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.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>Versioning long running workfows part 1</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx</link><description>Part 1 Part 2 Part 3 Part 4 One of the cool features of Windows Workflow Foundation is that it allows long running processes. And not just long running as in a few minutes but really long running as in a few years . This is possible true the use of the</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Versioning long running workfows part 1</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx#1649756</link><pubDate>Sun, 05 Oct 2008 00:43:03 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1649756</guid><dc:creator>Michael Washington</dc:creator><description>&lt;p&gt;Thank you for this.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1649756" width="1" height="1"&gt;</description></item><item><title>Versioning long running workflows part 4</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx#1648526</link><pubDate>Mon, 22 Sep 2008 12:56:59 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1648526</guid><dc:creator>WF Community Bloggers</dc:creator><description>&lt;p&gt;Part 1 Part 2 Part 3 Part 4 In the previous blog posts we made sure we could have multiple versions of&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1648526" width="1" height="1"&gt;</description></item><item><title>Versioning long running workflows part 4</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx#1648515</link><pubDate>Mon, 22 Sep 2008 12:23:08 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1648515</guid><dc:creator>The Problem Solver</dc:creator><description>&lt;p&gt;Part 1 Part 2 part 3 In the previous blog posts we made sure we could have multiple versions of the same&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1648515" width="1" height="1"&gt;</description></item><item><title>Versioning long running workfows part 3</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx#1647926</link><pubDate>Tue, 16 Sep 2008 15:03:39 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647926</guid><dc:creator>WF Community Bloggers</dc:creator><description>&lt;p&gt;Part 1 Part 2 In the first article of this series I demonstrated how to get multiple versions of a workflow&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647926" width="1" height="1"&gt;</description></item><item><title>Versioning long running workfows part 3</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx#1647918</link><pubDate>Tue, 16 Sep 2008 14:29:08 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647918</guid><dc:creator>The Problem Solver</dc:creator><description>&lt;p&gt;Part 1 Part 2 In the first article of this series I demonstrated how to get multiple versions of a workflow&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647918" width="1" height="1"&gt;</description></item><item><title>Versioning long running workflows part 2</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx#1647524</link><pubDate>Thu, 11 Sep 2008 19:09:41 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647524</guid><dc:creator>WF Community Bloggers</dc:creator><description>&lt;p&gt;Part 1 Part 2 In my previous post I demonstrated how to keep multiple versions of an assembly around&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647524" width="1" height="1"&gt;</description></item><item><title>re: Versioning long running workfows part 1</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx#1647522</link><pubDate>Thu, 11 Sep 2008 19:01:43 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647522</guid><dc:creator>Maurice</dc:creator><description>&lt;p&gt;Hi Damian ,&lt;/p&gt;
&lt;p&gt;Good suggestion to do a few posts or an article about hosting.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647522" width="1" height="1"&gt;</description></item><item><title>Versioning long running workfows - The Problem Solver</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx#1647519</link><pubDate>Thu, 11 Sep 2008 18:57:12 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647519</guid><dc:creator>Versioning long running workfows - The Problem Solver</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Versioning long running workfows - The Problem Solver&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647519" width="1" height="1"&gt;</description></item><item><title>Versioning long running workflows part 2</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx#1647517</link><pubDate>Thu, 11 Sep 2008 18:53:13 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647517</guid><dc:creator>The Problem Solver</dc:creator><description>&lt;p&gt;Part 1 Part 2 In my previous post I demonstrated how to keep multiple versions of an assembly around&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647517" width="1" height="1"&gt;</description></item><item><title>re: Versioning long running workfows</title><link>http://msmvps.com/blogs/theproblemsolver/archive/2008/09/10/versioning-long-running-workfows.aspx#1647474</link><pubDate>Thu, 11 Sep 2008 13:25:35 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1647474</guid><dc:creator>Damian</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Interesting read and fetched back a few memories. &lt;/p&gt;
&lt;p&gt;I put a system together last year when Windows WF was pretty much just released. &amp;nbsp;I hit all sorts of problems with the versioning exceptions when I had to make tweaks to the workflow during testing, but didnt realise exactly why at the time. &amp;nbsp;As there were very few resources around to help me it was a case of having to roll my sleeves up and get under the covers to fully understand what was going on.&lt;/p&gt;
&lt;p&gt;It wasnt until i had to make some further changes to the system once it was up and running that i fully got to grips with how the workflow runtime loaded the type for each instance. &amp;nbsp;My first impression was that the workflow item worked its way around the workflow so it didnt matter if you changed the workflow it would just work using the latest version - but this isnt the case. &amp;nbsp;Each instance is a copy of the workflow in a certain way of thinking. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;How i finished up getting around it was slightly different to yours as i didnt realise you could do the things you have with the web.config and setting references to assemblies. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;What i thought i needed to do was create a new copy of the workflow (at design time) and deploy both versions. &amp;nbsp;This was fine but the next issue i had was &amp;nbsp;how do i copy a workflow and make some changes. &amp;nbsp;Heindsight says this was a bad move but it didnt jump out at me at first. &amp;nbsp;Anyway.. I ended up copying the workflow xaml xml and changing the xaml to a new type - V2. &amp;nbsp;And this actually worked! &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now i had old and new versions of the workflow and could make my changes and deploy. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The next issue i came across was code that was hooked into the workflow, i.e. any services/classes that made use of the workflow. &amp;nbsp;You had to change the code to tell it what version of workflow to create, that was easy but then if you had referred to the workflow at any point in your classes, and this had been removed/changed then it would obviously break. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now i have more experience in everything .net, not just wwf i plan to revisit wwf and the issues above - so i shall keep an eye on your blog with interest on your next article.&lt;/p&gt;
&lt;p&gt;As an aside ive not used wwf in a project since as i found the hosting part a large amount of work as i was hosting in IIS and i had a lot of considerations to think about - threading etc. &amp;nbsp;It is this that has put me off using it more as i think its a fantastic tool. &amp;nbsp;I am now about to look at sharepoint and how it uses the WF. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also id like to learn more about hosting mutliple types of workflow for multiple projects i.e. easier re-use and a single host deployment. &amp;nbsp;This would be really neat for what i would like to do with workflow.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1647474" width="1" height="1"&gt;</description></item></channel></rss>