<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>AppFabric Team Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/msdn/appfabric/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/msdn/appfabric/feed.xml</link>
    <description>AppFabric Team Blog covering Windows Azure AppFabric, Windows Server AppFabric, WCF and WF, development, deployment, and management</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:14:20 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Microsoft AppFabric 1.1 for Windows Server Support Lifecycle Extension - 4/11/2017</title>
      <link>https://docs.microsoft.com/archive/blogs/msdn/appfabric/microsoft-appfabric-1-1-for-windows-server-support-lifecycle-extension-4112017</link>
      <pubDate>Fri, 19 Jun 2015 16:45:00 GMT</pubDate>
      <dc:creator><![CDATA[Erica Mohler - MSFT1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/appfabric/2015/06/19/microsoft-appfabric-1-1-for-windows-server-support-lifecycle-extension-4112017/</guid>
      <description><![CDATA[The AppFabric Product team wants to share the news that the official Microsoft Support Lifecycle for...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;">The AppFabric Product team wants to share the news that the official Microsoft Support Lifecycle for Microsoft AppFabric 1.1 for Windows Server has been extended such that <strong>Mainstream Support will be provided until 4/11/2017 and Extended Support until 4/12/2022.</strong></span></p>
<p><span style="font-size: small;">To view the Microsoft Support Lifecycle: <a href="https://support.microsoft.com/en-us/lifecycle?p1=18535">https://support.microsoft.com/en-us/lifecycle?p1=18535</a></span></p>
<p><span style="font-size: small;">We have been listening to the feedback from the <a href="https://blogs.msdn.com/b/appfabric/archive/2015/04/02/windows-server-appfabric-1-1-ends-support-4-2-2016.aspx">recent AppFabric End of Support announcement</a> and understand that 4/2/2016 may not be sufficient time for customers to migrate off this technology. To address these concerns, AppFabric 1.1. for Windows Server is now aligned to 5 year mainstream/ 5 year extended support lifecycle policy which is reflected Microsoft Support Lifecycle above. For more information on Microsoft Support Lifecycles, please refer to the <a href="https://support.microsoft.com/en-us/lifecycle#gp/lifePolicy">Support Lifecycle FAQ</a>.</span></p>
<p><strong style="font-size: small;">Microsoft recommends that any new applications requiring AppFabric technology to be built using alternate technology.</strong></p>
<p style="padding-left: 30px;">Application Cache: Microsoft recommends that new projects are built using Microsoft's&nbsp;<a style="font-size: small;" href="https://redis.io/">Redis</a>&nbsp;Cache solutions:&nbsp;<a href="https://azure.microsoft.com/en-us/services/cache/">Microsoft Azure Redis Cache</a>,&nbsp;<a href="https://github.com/MSOpenTech/Redis">Redis on Windows</a></p>
<p style="padding-left: 60px;">For more information on Microsoft's Redis cache offerings,&nbsp;migration to Redis, and other caching alternatives,&nbsp;please&nbsp;refer to<strong style="font-size: small;">&nbsp;<a href="https://blogs.msdn.com/b/appfabric/archive/2015/04/02/windows-server-appfabric-1-1-ends-support-4-2-2016.aspx">this blog</a>.</strong></p>
<p style="padding-left: 30px;"><strong style="font-size: small;"></strong>For&nbsp;Hosting and Management/Monitoring of Services and Workflow, please refer to&nbsp;<strong><a href="https://blogs.msdn.com/b/appfabric/archive/2015/04/02/windows-server-appfabric-1-1-ends-support-4-2-2016.aspx">this blog</a>&nbsp;</strong>for more information.</p>
<p>NOTE: The Support Lifecycle change above is only applicable for Microsoft AppFabric 1.1 for Windows Server.&nbsp;There are no changes to AppFabric 1.0 Support Lifecycle.</p>
<p>Microsoft Sharepoint Server customers (ie. Distributed Cache) will be supported under <a href="https://support.microsoft.com/en-us/lifecycle/search/default.aspx?alpha=sharepoint">Sharepoint Server Support Lifecycle</a>.</p>
<p><span style="font-size: small;">Thanks,</span></p>
<p><span style="font-size: small;">AppFabric Product team</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft AppFabric 1.1 for Windows Server Ends Support 4/2/2016</title>
      <link>https://docs.microsoft.com/archive/blogs/msdn/appfabric/microsoft-appfabric-1-1-for-windows-server-ends-support-422016</link>
      <pubDate>Thu, 02 Apr 2015 10:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Erica Mohler - MSFT1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/appfabric/2015/04/02/microsoft-appfabric-1-1-for-windows-server-ends-support-422016/</guid>
      <description><![CDATA[**UPDATE** AppFabric 1.1 for Windows Server Support Lifecycle has been changed to 4/11/2017, please...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: medium;"><strong><span style="background-color: #ffff00;">**UPDATE</span><span style="background-color: #ffff00;">** <span style="background-color: #ffffff;">AppFabric 1.1 for Windows Server Support Lifecycle has been changed to 4/11/2017</span></span><span style="background-color: #ffffff;">,</span> please see <a href="https://blogs.msdn.com/b/appfabric/archive/2015/06/19/appfabric-1-1-for-windows-server-support-lifecycle-extension-4-11-2017.aspx">new blog post</a> for more information</strong></span></p>
<p><span style="color: #0000ff;"><a href="https://msdn.microsoft.com/en-us/library/hh351318.aspx"><span style="color: #0000ff;">Microsoft AppFabric 1.1 for Windows Server</span></a></span>&nbsp;will end Microsoft Support one&nbsp;year from today&rsquo;s announcement, which dates April 2, 2016.</p>
<p>AppFabric 1.1 for Windows Server&nbsp;provides hosting, management and caching capabilities for Web applications and middle-tier services. This tool makes it easier to build, scale and manage applications, in particular those built using ASP.NET, Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF).</p>
<p>Microsoft recommends all applications currently using AppFabric 1.1 for Windows Server&nbsp;to migrate off this technology by April 2, 2016, following the below suggestions.</p>
<p><strong><strong>Application Cache:</strong></strong></p>
<p>Microsoft Azure Redis Cache is based on the popular open source <span style="color: #0000ff;"><a href="https://redis.io/"><span style="color: #0000ff;">Redis</span></a></span> Cache. It gives you access to a secure, dedicated Redis cache, managed and fully supported by Microsoft, so you can focus on your application rather than the infrastructure. We recommend all Microsoft AppFabric customers using Cache to move to <span style="color: #0000ff;"><a href="https://azure.microsoft.com/en-us/services/cache/"><span style="color: #0000ff;">Microsoft Azure Redis Cache</span></a>.</span></p>
<p>For those who require on premise caching solution, <span style="color: #0000ff;"><a href="https://github.com/MSOpenTech/Redis"><span style="color: #0000ff;">Redis on Windows</span></a></span> is available from MSOpen Tech. Microsoft Azure Redis Cache is built off this Windows port, which will continue to be updated alongside improvements for the service.</p>
<p>For migration to Redis, customers should review the following guide: <span style="color: #0000ff;"><a href="https://msdn.microsoft.com/en-us/library/azure/dn690524.aspx"><span style="color: #0000ff;">Migrate from Managed Cache Service to Azure Redis Cache</span></a></span></p>
<p>For hosting Redis yourself, while most customers are very satisfied with the level of support provided from open source community, if you require an official support channel for your caching technology, we recommend to look into <span style="color: #0000ff;"><a href="https://www.alachisoft.com/ncache/"><span style="color: #0000ff;">NCache</span></a></span> or any other Caching solution.</p>
<p><strong><strong>Hosting:</strong></strong></p>
<p>The hosting functionality provided by Microsoft&nbsp;AppFabric for Windows Server&nbsp;is an additional layer built on top of Internet Information Services (IIS) to help simplify the management of services and hosting services on IIS. Customers can choose to manually host these services on Internet Information Services (IIS).</p>
<p><strong><strong>Management/Monitoring of Services and Workflows:</strong></strong></p>
<p>The monitoring&nbsp;feature&nbsp;in Microsoft AppFabric for Windows Server&nbsp;gives users an administrative UI built into the IIS Manager to configure, control and monitor applications. For applications utilizing the management and monitoring functionality of AppFabric, custom solutions can be built which will produce the same results. These custom solutions can best monitor the information from a specific application or service.</p>]]></content:encoded>
    </item>
    <item>
      <title>We’re Moving To The Windows Azure Team Blog</title>
      <link>https://docs.microsoft.com/archive/blogs/msdn/appfabric/were-moving-to-the-windows-azure-team-blog</link>
      <pubDate>Mon, 12 Dec 2011 13:48:00 GMT</pubDate>
      <dc:creator><![CDATA[netsqlservicesteam]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/appfabric/2011/12/12/were-moving-to-the-windows-azure-team-blog/</guid>
      <description><![CDATA[We are continually looking for ways to make it easier for you to stay on top of the latest product...]]></description>
      <content:encoded><![CDATA[<p>We are continually looking for ways to make it easier for you to stay on top of the latest product releases, resources, tools and news around <a href="https://www.microsoft.com/windowsazure/" target="_blank">Windows Azure</a>.&nbsp; Today, we&rsquo;re happy to announce another step in that direction with the consolidation of this team blog into the <a href="https://blogs.msdn.com/b/windowsazure/" target="_blank">Windows Azure Team Blog</a>. The Windows Azure team blog covers a wide variety of topics, from the latest news and announcements, to technical and &ldquo;how-to&rdquo; posts, as well as conversations with customers, partners and Windows Azure experts.&nbsp;</p>
<p>Starting today, the Windows Azure team blog is where you&rsquo;ll be able to find the latest technical information about topics such as <a href="https://www.microsoft.com/windowsazure/features/servicebus/" target="_blank">Service Bus</a>, <a href="https://www.microsoft.com/windowsazure/features/accesscontrol/" target="_blank">Access Control</a>, <a href="https://www.microsoft.com/windowsazure/features/caching/" target="_blank">Caching</a>, Windows Azure-related workflow, as well as development, deployment, and management.&nbsp; (Generic workflow posts will continue to be posted to the <a href="https://blogs.msdn.com/b/workflowteam/" target="_blank">Workflow team blog</a>).</p>
<p>We hope these changes will make your life a little easier by making this blog your single destination for all the latest news and information about Windows Azure.&nbsp; Be sure to let us know what you think about these changes, as well as what kinds of information you&rsquo;re like us to focus on by posting a comment to this post.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>WF Azure Activity Pack CTP 1</title>
      <link>https://docs.microsoft.com/archive/blogs/msdn/appfabric/wf-azure-activity-pack-ctp-1</link>
      <pubDate>Wed, 31 Aug 2011 07:13:00 GMT</pubDate>
      <dc:creator><![CDATA[Ron Jacobs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/appfabric/2011/08/31/wf-azure-activity-pack-ctp-1/</guid>
      <description><![CDATA[We&rsquo;re so excited to announce that the WF Activity Pack for Azure has just been released!...]]></description>
      <content:encoded><![CDATA[<p>We&rsquo;re so excited to announce that the WF Activity Pack for Azure has just been released! Please refer to our <a href="https://wf.codeplex.com/">CodePlex page</a> for the download information. The package is also available via <a href="https://nuget.org/List/Packages/WFAzureActivityPack">NuGet</a>, you can type &ldquo;Install-Package WFAzureActivityPack&rdquo; in your package manager console to install the activity pack.</p>
<p>The Azure Activity Pack is built on top of Windows Azure SDK (August Update, 2011). Please <a href="https://www.microsoft.com/windowsazure/sdk/">install</a> the SDK on your development machine.</p>
<h3><a name="_Toc301775745"></a>Introduction</h3>
<p>The Microsoft WF Azure Activity Pack CTP 1 is the first community technology preview (CTP) release of Azure activities implementation based on Windows Workflow Foundation in .NET Framework 4.0 (WF4) and Windows Azure SDK. The implementation contains a set of activities based on <a href="https://www.microsoft.com/windowsazure/features/storage/">Windows Azure Storage Service</a> and <a href="https://www.microsoft.com/windowsazure/features/caching/">Windows Azure AppFabric Caching Service</a>, which enables developers to easily access these Azure services within a workflow application.</p>
<p>This Activity Pack includes the following activities:</p>
<p><a name="_Toc301775746"></a><b>For Windows Azure Storage Service - Blob</b><b></b></p>
<ul>
<li><b>PutBlob</b> creates a new block blob, or replace an existing block blob.</li>
<li><b>GetBlob</b> downloads the binary content of a blob.</li>
<li><b>DeleteBlob</b> deletes a blob if it exists.</li>
<li><b>CopyBlob</b> copies a blob to a destination within the storage account.</li>
<li><b>ListBlobs</b> enumerates the list of blobs under the specified container or a hierarchical blob folder.</li>
</ul>
<p><a name="_Toc301775747"></a><b>For Windows Azure Storage Service - Table</b><b></b></p>
<ul>
<li><b>InsertEntity&lt;T&gt;</b> inserts a new entity into the specified table.</li>
<li><b>QueryEntities&lt;T&gt;</b> queries entities in a table according to the specified query options.</li>
<li><b>UpdateEntity&lt;T&gt;</b> updates an existing entity in a table.</li>
<li><b>DeleteEntity&lt;T&gt;</b> deletes an existing entity in a table using the specified entity object.</li>
<li><b>DeleteEntity</b> deletes an existing entity in a table using partition and row keys.</li>
</ul>
<p><a name="_Toc301775748"></a><b>For Windows Azure AppFabric Caching Service</b><b></b></p>
<ul>
<li><b>AddCacheItem</b> adds an object to the cache, or updates an existing object in the cache.</li>
<li><b>GetCacheItem</b> gets an object from the cache as well as its expiration time.</li>
<li><b>RemoveCacheItem</b> removes an object from the cache.</li>
</ul>
<h3>Sample</h3>
<p>We&rsquo;ve prepared a sample for this Activity Pack, which is a simple application for users to upload a file, and view all file entities available in the system. The sample solution is created from the template of Windows Azure Project. Please refer to our <a href="https://wf.codeplex.com/">CodePlex page</a> for the source code and document of the sample.</p>
<h3>Screenshots</h3>
<p>Here&rsquo;s what they look like in Microsoft Visual Studio.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/3302.clip_image002_3B3315CF.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/3302.clip_5F00_image002_5F00_3B3315CF.jpg"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/1323.clip_image002_thumb_1AABD61D.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/1323.clip_5F00_image002_5F00_thumb_5F00_1AABD61D.jpg" width="244" height="159" /></a></p>
<p>You can configure the activity in the property grid.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/2816.clip_image003_3A5AAFE5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/2816.clip_5F00_image003_5F00_3A5AAFE5.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image003" border="0" alt="clip_image003" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/0172.clip_image003_thumb_132066B0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/0172.clip_5F00_image003_5F00_thumb_5F00_132066B0.png" width="241" height="244" /></a></p>
<p>There&rsquo;re 4 generic activities for Azure Table service, and you need to specify the table entity type when adding them to the designer canvas. The type you specified should inherit from <a href="https://msdn.microsoft.com/en-us/library/microsoft.windowsazure.storageclient.tableserviceentity.aspx">TableServiceEntity</a>.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/7041.clip_image004_32CF4078.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/7041.clip_5F00_image004_5F00_32CF4078.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image004" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/5468.clip_image004_thumb_4E73CC6E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/5468.clip_5F00_image004_5F00_thumb_5F00_4E73CC6E.png" width="244" height="107" /></a></p>
<h3>Notice</h3>
<p>Activities in this Activity Pack don&rsquo;t have special logics for handling potential exceptions. All exception behaviors are consistent with the Managed Library API provided by the Azure Service. For example, if the GetBlob activity tries to get a blob that doesn&rsquo;t exist, a StorageClientException will be thrown.</p>
<p>So, please get prepared for the potential exceptions that may occur in the workflow. Today, the simplest approach is to wrap a <i>TryCatch</i> activity outside of the Azure activity.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/2728.clip_image005_794C3080.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/2728.clip_5F00_image005_5F00_794C3080.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image005" border="0" alt="clip_image005" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/1830.clip_image005_thumb_4E079979.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/1830.clip_5F00_image005_5F00_thumb_5F00_4E079979.png" width="244" height="169" /></a></p>
<p>For more information on the error handling in Windows Workflow Foundation, please refer to the &ldquo;Transactions and Error Handling&rdquo; section in the article &ldquo;<a href="https://msdn.microsoft.com/en-us/library/ee342461.aspx">A Developer's Introduction to Windows Workflow Foundation (WF) in .NET 4</a>&rdquo;.</p>
<h3>Feedback</h3>
<p>You&rsquo;re always welcome to send us your thoughts on WF Azure Activity Pack, and please let us know how we can do it better. You can leave feedback:</p>
<ul>
<li>Here on the blog comments.</li>
<li>Open an <a href="https://wf.codeplex.com/workitem/list/basic">Issue</a> at <a href="https://wf.codeplex.com/">wf.CodePlex.com</a></li>
</ul>
<p>Thanks!</p>]]></content:encoded>
    </item>
    <item>
      <title>How to create a Custom Activity Designer with Windows Workflow Foundation (WF4)</title>
      <link>https://docs.microsoft.com/archive/blogs/msdn/appfabric/how-to-create-a-custom-activity-designer-with-windows-workflow-foundation-wf4</link>
      <pubDate>Sun, 14 Aug 2011 18:15:32 GMT</pubDate>
      <dc:creator><![CDATA[Ron Jacobs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/appfabric/2011/08/14/how-to-create-a-custom-activity-designer-with-windows-workflow-foundation-wf4/</guid>
      <description><![CDATA[The Windows Workflow Foundation (WF4) - Custom Activity Designer sample demonstrates how you can...]]></description>
      <content:encoded><![CDATA[<p>The <a href="https://code.msdn.microsoft.com/Windows-Workflow-9e867448">Windows Workflow Foundation (WF4) - Custom Activity Designer sample</a> demonstrates how you can build an activity and activity designer.&#160; It includes three projects</p>  <ol>   <li>MyActivityLibrary - The activity library project </li>    <li>MyActivityLibrary.Design - The activity designer project </li>    <li>TestDesigner - A rehosted designer project useful for testing the activity </li> </ol>  <h1><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/6521.testdesigner_4C939235.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/6521.testdesigner_5F00_4C939235.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="testdesigner" border="0" alt="testdesigner" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/0763.testdesigner_thumb_4F78D11B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/0763.testdesigner_5F00_thumb_5F00_4F78D11B.png" width="644" height="303" /></a></h1>  <h1><span>Step 1: Create the Activity     <br /></span></h1>  <p>The first step is to build your activity.&#160; Don't create a designer until you are satisifed with the interface to your activity in terms of arguments and properties.&#160; This sample includes a native activity named MyActivity which simply returns a string with the activity values.</p>  <p>The activity includes an InArgument and two properties including an enumerated value so you can see how to use these with your activity designer.</p>  <div id="codeSnippetWrapper">   <div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">     <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">sealed</span> <span style="color: #0000ff">class</span> MyActivity : NativeActivity&lt;<span style="color: #0000ff">string</span>&gt;</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>     <span style="color: #0000ff">public</span> MyEnum Option { get; set; }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>     <span style="color: #0000ff">public</span> <span style="color: #0000ff">bool</span> TestCode { get; set; }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>&#160; </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>     [DefaultValue(<span style="color: #0000ff">null</span>)]</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>     <span style="color: #0000ff">public</span> InArgument&lt;<span style="color: #0000ff">string</span>&gt; Text { get; set; }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>&#160; </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>     <span style="color: #0000ff">protected</span> <span style="color: #0000ff">override</span> <span style="color: #0000ff">void</span> Execute(NativeActivityContext context)</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span>     {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span>         <span style="color: #0000ff">this</span>.Result.Set(</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum12">  12:</span>             context,</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum13">  13:</span>             <span style="color: #0000ff">string</span>.Format(</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum14">  14:</span>                 <span style="color: #006080">&quot;Text is {0}, TestCode is {1}, Option is {2}&quot;</span>,</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum15">  15:</span>                 context.GetValue(<span style="color: #0000ff">this</span>.Text),</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum16">  16:</span>                 <span style="color: #0000ff">this</span>.TestCode,</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum17">  17:</span>                 <span style="color: #0000ff">this</span>.Option));</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum18">  18:</span>     }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum19">  19:</span> }</pre>
<!--CRLF--></div>
</div>

<h1 class="endscriptcode">Step 2: Add the Design Project</h1>

<p>Visual Studio uses a naming convention to locate an associated designer project.&#160; Since our assembly is named MyActivity.dll, Visual Studio will attempt to load MyActivity.Design.dll.</p>

<ol>
  <li>Select File / Add / New Project </li>

  <li>Choose the Activity Designer Library project template </li>

  <li>Name the project <strong>MyActivityLibrary.Design</strong> </li>
</ol>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/2248.SolutionProj_47ED61AE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/2248.SolutionProj_5F00_47ED61AE.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="SolutionProj" border="0" alt="SolutionProj" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/7103.SolutionProj_thumb_35A49AEC.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/7103.SolutionProj_5F00_thumb_5F00_35A49AEC.png" width="244" height="128" /></a></p>

<h1>Step 3: Add RegisterMetadata method</h1>

<p>The activity designer class should include a method to register the metadata for that designer.</p>

<div id="codeSnippetWrapper">
  <div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">partial</span> <span style="color: #0000ff">class</span> MyActivityDesigner</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>     <span style="color: #0000ff">public</span> MyActivityDesigner()</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>     {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>         <span style="color: #0000ff">this</span>.InitializeComponent();</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>     }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>&#160; </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>     <span style="color: #0000ff">public</span> <span style="color: #0000ff">static</span> <span style="color: #0000ff">void</span> RegisterMetadata(AttributeTableBuilder builder)</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>     {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span>         builder.AddCustomAttributes(<span style="color: #0000ff">typeof</span>(MyActivity), <span style="color: #0000ff">new</span> DesignerAttribute(<span style="color: #0000ff">typeof</span>(MyActivityDesigner)));</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span>         builder.AddCustomAttributes(<span style="color: #0000ff">typeof</span>(MyActivity), <span style="color: #0000ff">new</span> DescriptionAttribute(<span style="color: #006080">&quot;My sample activity&quot;</span>));</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum12">  12:</span>     }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum13">  13:</span> }</pre>
<!--CRLF--></div>
</div>

<h1>Step 4: Add Metadata Class</h1>

<p>Add a class that implements <strong>System.Activities.Presentation.Metadata.IRegisterMetadata</strong>. This class will be invoked at runtime to add attributes to the activity class. In the sample, I've added a static method called RegisterAll() which will register all of the activities contained in this library.&#160; This method is called from the test designer.</p>

<div id="codeSnippetWrapper">
  <div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">sealed</span> <span style="color: #0000ff">class</span> MyActivityLibraryMetadata : IRegisterMetadata</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>     <span style="color: #0000ff">public</span> <span style="color: #0000ff">void</span> Register()</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>     {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>         RegisterAll();</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>     }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>&#160; </pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>     <span style="color: #0000ff">public</span> <span style="color: #0000ff">static</span> <span style="color: #0000ff">void</span> RegisterAll()</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>     {</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span>         var builder = <span style="color: #0000ff">new</span> AttributeTableBuilder();</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span>         MyActivityDesigner.RegisterMetadata(builder);</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum12">  12:</span>         <span style="color: #008000">// TODO: Other activities can be added here</span></pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum13">  13:</span>         MetadataStore.AddAttributeTable(builder.CreateTable());</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum14">  14:</span>     }</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum15">  15:</span> }</pre>
<!--CRLF--></div>
</div>

<h1>Step 5: Add an activity image to your Design Project</h1>

<p>Your designer should include a 16x16 ToolBox image.&#160; The sample application includes the image <strong>QuestionMark.png</strong> in the&#160; activity library.&#160; The <strong>Build Action</strong> for this file should be set to <strong>Resource</strong></p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/1731.buildactionresource_0E6A51B7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/1731.buildactionresource_5F00_0E6A51B7.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="buildactionresource" border="0" alt="buildactionresource" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/2728.buildactionresource_thumb_353867F7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/2728.buildactionresource_5F00_thumb_5F00_353867F7.png" width="342" height="141" /></a></p>

<h1>Step 6: Add the ToolboxBitmap</h1>

<p>To support a Toolbox Bitmp you will need to add the activity image to your activity library project also and set the <strong>Build Action </strong>to <strong>Embedded Resource.&#160; </strong>The sample application has included the file QuestionMark.png as a linked file from the design project.</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/8270.buildactionembedded_75024E7C.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/8270.buildactionembedded_5F00_75024E7C.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="buildactionembedded" border="0" alt="buildactionembedded" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/0268.buildactionembedded_thumb_06DEE24A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/0268.buildactionembedded_5F00_thumb_5F00_06DEE24A.png" width="343" height="169" /></a></p>

<p>Next go back to your activity class and add the ToolboxBitmap attribute</p>

<div id="codeSnippetWrapper">
  <div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #008000">// TODO: Be sure the build action for your bitmap is set to Embedded Resource</span></pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> [ToolboxBitmap(<span style="color: #0000ff">typeof</span>(MyActivity), <span style="color: #006080">&quot;QuestionMark.png&quot;</span>)]</pre>
<!--CRLF-->

    <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">sealed</span> <span style="color: #0000ff">class</span> MyActivity : NativeActivity&lt;<span style="color: #0000ff">string</span>&gt;</pre>
<!--CRLF--></div>
</div>

<h1 class="endscriptcode">Step 7: Create The Designer</h1>

<div class="endscriptcode">The XAML in the Activity Designer Library template is for a simple designer.&#160; This sample includes a designer with support for Expand/Collapse and an activity image as well as a drop down list with enumerated values.</div>

<div class="endscriptcode"></div>

<div class="endscriptcode">Here is the collapsed view where you would show only the most important values</div>

<div class="endscriptcode">&#160;</div>

<div class="endscriptcode"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/5554.collapsed_18BB7617.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/5554.collapsed_5F00_18BB7617.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="collapsed" border="0" alt="collapsed" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/4786.collapsed_thumb_547B0ECA.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/4786.collapsed_5F00_thumb_5F00_547B0ECA.png" width="361" height="83" /></a></div>

<div class="endscriptcode">&#160;</div>

<div class="endscriptcode"></div>

<div class="endscriptcode">And this is the expanded view where you can add more commonly access properties.&#160; Remember the property grid allows access to other properties that are not included on the design surface.</div>

<div class="endscriptcode"></div>

<div class="endscriptcode"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/8508.expanded_386A4FDF.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/8508.expanded_5F00_386A4FDF.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="expanded" border="0" alt="expanded" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/5050.expanded_thumb_0D25B8D8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/5050.expanded_5F00_thumb_5F00_0D25B8D8.png" width="442" height="141" /></a></div>

<div class="endscriptcode"></div>

<h1 class="endscriptcode">Step 8: Configure the Designer project for debugging</h1>

<p>There are two options for debugging your designer project.&#160; The recommended approach is to debug with a re-hosted designer application such as the one included with this application.&#160; Set the project properties as shown for debugging support.</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/0753.tddebug_4CEF9F5D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/0753.tddebug_5F00_4CEF9F5D.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="tddebug" border="0" alt="tddebug" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/7522.tddebug_thumb_77C8036F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/7522.tddebug_5F00_thumb_5F00_77C8036F.png" width="507" height="127" /></a></p>

<p>To test with Visual Studio it is best to use the Experimental Instance option.&#160; Debugging with Visual Studio can take a long time so it is best to test by starting without debugging.</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/5140.vsdebug_657F3CAD.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/5140.vsdebug_5F00_657F3CAD.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="vsdebug" border="0" alt="vsdebug" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/8015.vsdebug_thumb_25492333.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/8015.vsdebug_5F00_thumb_5F00_25492333.png" width="508" height="251" /></a></p>



























<p>And that’s it.&#160; Now all you need to do is manage the WPF side of things.&#160; Check the sample to see how it’s done.</p>

<p>Happy Coding!</p>

<p>Ron Jacobs
  <br /><a href="https://www.ronjacobs.com">https://www.ronjacobs.com</a>

  <br /><a href="https://www.twitter.com/ronljacobs">@ronljacobs</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Announcing The End of The Free Promotional Period for Windows Azure AppFabric Caching</title>
      <link>https://docs.microsoft.com/archive/blogs/msdn/appfabric/announcing-the-end-of-the-free-promotional-period-for-windows-azure-appfabric-caching</link>
      <pubDate>Mon, 01 Aug 2011 14:18:45 GMT</pubDate>
      <dc:creator><![CDATA[netsqlservicesteam]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/appfabric/2011/08/01/announcing-the-end-of-the-free-promotional-period-for-windows-azure-appfabric-caching/</guid>
      <description><![CDATA[For the past few months, we have offered the Windows Azure AppFabric Caching service free of charge...]]></description>
      <content:encoded><![CDATA[<p>For the past few months, we have offered the Windows Azure AppFabric Caching service free of charge for the promotional period that ends July 31, 2011. For all billing periods beginning on August 1, 2011 onward, we will begin charging at the following standard monthly rates:</p>  <ul>   <li>$45.00 for a 128MB cache</li>    <li>$55.00 for a 256MB cache</li>    <li>$75.00 for a 512MB cache</li>    <li>$110.00 for a 1GB cache</li>    <li>$180.00 for a 2GB cache</li>    <li>$325.00 for a 4GB cache</li> </ul>  <p>If you are signed up for one of the Windows Azure Platform offers, it may include a 128MB cache option at no additional charge for a certain period of time, depending on the specific offer. You can find out whether your offer includes a 128MB cache at no additional charge by going to our page that lists our various <a href="https://www.microsoft.com/windowsazure/offers/popup/popup.aspx?lang=en&amp;locale=en-us&amp;offer=COMPARE_PUBLIC">Windows Azure Platform offers</a>.</p>  <p>If you are using caching and do not desire to be billed, please be sure to stop using caching in excess of what is included with your offer immediately.</p>  <p>If you have any questions about the Windows Azure platform or the Windows Azure AppFabric Caching service, please visit our <a href="https://www.microsoft.com/windowsazure/support/">support page</a>.</p>  <p>Thank you for your continued interest in the Windows Azure platform.</p>]]></content:encoded>
    </item>
    <item>
      <title>Windows Workflow Foundation - WF Migration Kit CTP 2 Released</title>
      <link>https://docs.microsoft.com/archive/blogs/msdn/appfabric/windows-workflow-foundation-wf-migration-kit-ctp-2-released</link>
      <pubDate>Mon, 01 Aug 2011 07:16:58 GMT</pubDate>
      <dc:creator><![CDATA[Ron Jacobs]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/appfabric/2011/08/01/windows-workflow-foundation-wf-migration-kit-ctp-2-released/</guid>
      <description><![CDATA[Update  We’re happy to announce that CTP 2 version of WF Migration Kit has been released to...]]></description>
      <content:encoded><![CDATA[<h3>Update</h3>  <p>We’re happy to announce that CTP 2 version of WF Migration Kit has been released to CodePlex, please refer to our <a href="https://wf.codeplex.com/">CodePlex page</a> for more information.&#160; The new <a href="https://blogs.msdn.com/b/endpoint/archive/2011/04/20/wf4-state-machine-user-experience.aspx">State Machine</a> activity for WF 4 is released with the <a href="https://blogs.msdn.com/b/endpoint/archive/2011/04/18/microsoft-net-framework-4-platform-update-1.aspx">.NET Framework 4 Platform Update 1</a> in April, 2011. In our CTP 2 release, we’ve added the support of State Machine migration.</p>  <p><i>If you already have CTP 1 installed, the CTP 2 installation will remove CTP 1 version on your machine.      <br /></i></p>  <h3>Introduction</h3>  <p>The WF Migration Kit helps users migrate WF3 (System.Workflow) artifacts to WF4 (System.Activities). The high level goal is to migrate workflow definitions and declarative conditions, but not code (such as workflow code-beside methods). Some WF3 workflows will be fully migratable to WF4, while others will be partially migratable and will require manual editing to complete the migration to WF4.</p>  <p>The WF Migration Kit provides an API as well as a command line executable tool, which is a wrapper around the API. Migrators are included for some, but not all, of the WF3 out-of-box activities. The WF Migration Kit offers an extensibility point so that custom activity migrators can be developed by third parties.</p>  <p>Activity migrators are provided for the following WF3 activities:</p>  <ul>   <li>Delay </li>    <li>Throw </li>    <li>Terminate </li>    <li>Send, Receive </li>    <li>CallExternalMethod, HandleExternalEvent (requires ExternalDataExchangeMapping information) </li>    <li>Sequence, SequentialWorkflow </li>    <li>IfElse, IfElseBranch </li>    <li>While </li>    <li>Parallel </li>    <li>Listen </li>    <li>Replicator </li>    <li>TransactionScope </li>    <li>CancellationHandler, FaultHandlers, FaultHandler </li>    <li>StateMachineWorkflow, State, StateInitialization, StateFinalization, SetState, EventDriven </li> </ul>  <p>The WF Migration Kit CTP runs on top of the Visual Studio 2010 and .NET Framework 4, which can be found <a href="https://msdn.microsoft.com/en-us/vstudio/">here</a>. Please note that the Client Profile of the .NET Framework 4 is not sufficient since it does not contain the WF3 assemblies. State Machine migration requires .NET Framework 4 Platform Update 1, which can be found <a href="https://go.microsoft.com/fwlink/?LinkID=209209">here</a>.</p>  <p>The WF Migration Kit is also available via <a href="https://nuget.org/List/Packages/WFMigrationKit">NuGet</a>.</p>  <h3>State Machine Migration</h3>  <p>Now let’s take a look at how WF Migration Kit can help us with State Machine migration. Please download <b>WF Migration Kit CTP 2 Samples.zip</b> from our CodePlex page.</p>  <p>The overall steps of State Machine migration includes:</p>  <ol>   <li>Either download and install <b>WF Migration Kit CTP 2 Setup.msi</b> from CodePlex, or download <b>WFMigrationKit</b> package from NuGet. </li>    <li>Execute migration on the legacy workflow project: <b>DelayStateMachine3</b>. </li>    <li>Port migrated activities to the new workflow project: <b>DelayStateMachine4</b>. </li> </ol>  <h5>Installation</h5>  <p>You can download and install <b>WF Migration Kit CTP 2 Setup.msi</b> from CodePlex, or download <b>WFMigrationKit</b> package from NuGet.</p>  <h5>Download and install <b>WF Migration Kit CTP 2 Setup.msi</b> from CodePlex.</h5>  <ul>   <li>Visit WF Migration Kit homepage on CodePlex. </li>    <li>Download <b>WF Migration Kit CTP 2 Setup.msi</b> from the page. </li>    <li>Install WF Migration Kit CTP 2. </li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/4527.clip_image001_36473DF6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/4527.clip_5F00_image001_5F00_36473DF6.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image001" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/0638.clip_image001_thumb_75A4F186.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/0638.clip_5F00_image001_5F00_thumb_5F00_75A4F186.png" width="244" height="192" /></a></p>  <p>The WF Migration Kit is installed in the <b>%ProgramFiles%\Microsoft WF Migration Kit\CTP 2\</b> folder or <b>%ProgramFiles(x86)%\Microsoft WF Migration Kit\CTP 2\</b> for 64-bit operating system.</p>  <h5>Download <b>WFMigrationKit</b> package from NuGet.</h5>  <ul>   <li>Download <a href="https://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c">NuGet Package Manager</a>, and install. </li>    <li>Open a project in Microsoft Visual Studio 2010 </li>    <li>Right click on <b>References</b> and choose <b>Manage NuGet Packages</b>. </li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/0714.clip_image002_474B6BD9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/0714.clip_5F00_image002_5F00_474B6BD9.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/3463.clip_image002_thumb_0715525F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/3463.clip_5F00_image002_5F00_thumb_5F00_0715525F.png" width="244" height="159" /></a></p>  <ul>   <li>In the <b>Online</b> tab search for <b>WFMigrationKit</b>. Click on <b>Install</b> button to download the package. </li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/8737.clip_image004_26C42C27.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/8737.clip_5F00_image004_5F00_26C42C27.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/7167.clip_image004_thumb_746058A7.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/7167.clip_5F00_image004_5F00_thumb_5F00_746058A7.jpg" width="244" height="139" /></a></p>  <ul>   <li>Close the dialog, open a Command Prompt window and change to the package tools directory. e.g: </li> </ul>  <p>cd WF Migration Kit CTP 2 Samples\StateMachineMigrationSamples\Begin\packages\WFMigrationKit.1.1.0.0\tools</p>  <h5>Test migration on the legacy workflow project: <b>DelayStateMachine3</b>.</h5>  <ul>   <li>Compile the <b>DelayStateMachine3</b> project, which produces an executable <b>DelayStateMachine3.exe</b>. </li>    <li>Copy <b>DelayStateMachine3.exe</b> to the installation directory (or package tools directory for NuGet) which contains <b>WFMigrator.exe</b> and <b>Microsoft.Workflow.Migration.dll</b>. </li>    <li>Execute the following command in the previously opened Command Prompt: </li> </ul>  <pre>WFMigrator DelayStateMachine3.exe</pre>

<p>A <b>DelayWorkflow.xaml </b>file has been generated in the current working directory. The migration completes with information indicating actions required to manually solve custom code activities not migrated during the execution.</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/2867.clip_image006_6CD4E93A.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/2867.clip_5F00_image006_5F00_6CD4E93A.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/2451.clip_image006_thumb_7A3AFC40.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/2451.clip_5F00_image006_5F00_thumb_5F00_7A3AFC40.jpg" width="244" height="125" /></a></p>

<h5>Port migrated activities to the new workflow project: <b>DelayStateMachine4</b>.</h5>

<ul>
  <li>Use Microsoft Visual Studio to add the <b>DelayWorkflow.xaml</b> file generated earlier to <b>DelayStateMachine4</b> project.</li>

  <li>Open <b>DelayWorkflow.xaml</b>.</li>
</ul>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/8540.clip_image007_5300B30B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/8540.clip_5F00_image007_5F00_5300B30B.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image007" border="0" alt="clip_image007" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/1781.clip_image007_thumb_44C23A1B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/1781.clip_5F00_image007_5F00_thumb_5F00_44C23A1B.png" width="206" height="244" /></a></p>

<ul>
  <li>Adjust the design canvas as you need.</li>

  <li>Inspect WriteLine activities which have been emitted in places of custom code activities, and develop corresponding WF 4 activities for a manual migration.</li>
</ul>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/5584.clip_image009_32797359.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/5584.clip_5F00_image009_5F00_32797359.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image009" border="0" alt="clip_image009" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/4011.clip_image009_thumb_724359DE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/4011.clip_5F00_image009_5F00_thumb_5F00_724359DE.png" width="244" height="190" /></a></p>

<ul>
  <li>Verify workflow behaviors after migration.</li>
</ul>

<h3>Feedback</h3>

<p>You’re always welcome to send us your thoughts on WF Migration Kit, and please let us know how we can do it better. You can leave feedback</p>

<ul>
  <li>Here on the blog comments</li>

  <li>Open an <a href="https://wf.codeplex.com/workitem/list/basic">Issue</a> at <a href="https://wf.CodePlex.com">wf.CodePlex.com</a>&#160;</li>
</ul>

<p>Thanks!</p>]]></content:encoded>
    </item>
    <item>
      <title>Now Available: The June CTP of Windows Azure AppFabric Service Bus REST API from Java, PHP</title>
      <link>https://docs.microsoft.com/archive/blogs/msdn/appfabric/now-available-the-june-ctp-of-windows-azure-appfabric-service-bus-rest-api-from-java-php</link>
      <pubDate>Thu, 28 Jul 2011 10:30:00 GMT</pubDate>
      <dc:creator><![CDATA[netsqlservicesteam]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/appfabric/2011/07/28/now-available-the-june-ctp-of-windows-azure-appfabric-service-bus-rest-api-from-java-php/</guid>
      <description><![CDATA[Good news for all PHP and Java developers: today we are publishing some Windows Azure AppFabric...]]></description>
      <content:encoded><![CDATA[<p>Good news for all PHP and Java developers: today we are publishing some Windows Azure AppFabric Service Bus samples just for you.</p>
<p>Since the <a href="https://msdn.microsoft.com/en-us/library/gg278338.aspx">AppFabric Service Bus REST API</a> can be used from almost all programming languages and operating systems, it makes it very easy for applications written on any platform to interoperate with each another through Windows Azure. To illustrate the point, we took the chat application that is already available as part of the Silverlight samples and made sample clients in PHP and Java that can all work seamlessly together.</p>
<p>You can <a href="https://servicebus.codeplex.com/">download</a> the new PHP and Java samples, as well as all others for all other supported environments, from CodePlex.</p>
<p>The Java application is implemented as a stand-alone client application and these are the steps you need to follow to build it:</p>
<ol>
<li>Edit the src\config\appfabric.properties file and add your Service Namespace, Issuer Name and Issuer Secret Key (obtained <a href="https://portal.appfabriclabs.com/Default.aspx">here</a>).</li>
<li>Compile the source using Apache Ant: navigate to the application directory in a command prompt and run &ldquo;ant&rdquo;.</li>
<li>Once the build is complete, cd to the new &ldquo;dist&rdquo; directory and run the jar file: &ldquo;java &ndash;jar AppFabricChat.jar&rdquo;.</li>
</ol>
<p>To use the PHP app, you need to:</p>
<ol>
<li>Add your Service Namespace, Issuer Name and Issuer Secret Key to application\configs\appfabric.ini (obtained <a href="https://portal.appfabriclabs.com/Default.aspx">here</a>).&nbsp;</li>
<li>Then point your webserver at the &ldquo;public&rdquo; directory and browse to the site.</li>
</ol>
<p>To set up a new site in IIS:</p>
<ol>
<li>Open &ldquo;Internet Information Services (IIS) Manager&rdquo;</li>
<li>Click &ldquo;View Sites&rdquo;, then &ldquo;Add Web Site&hellip;&rdquo;</li>
<li>Give the site a name such as AppFabricChat and point &ldquo;Physical path&rdquo; to the &ldquo;public&rdquo; directory of the PHP application.</li>
<li>Pick port and hostname information, and click OK.</li>
<li>Click the link under &ldquo;Browse Web Site&rdquo; to see the application.</li>
</ol>
<p><i>Note: If PHP isn&rsquo;t enabled on your web server, use </i><a href="https://www.microsoft.com/web/downloads/platform.aspx"><i>WebPI</i></a><i> to install it.</i></p>
<p>We would really like to get your feedback on these Java and PHP samples, so please feel free to ask questions and provide feedback on this at the Windows Azure AppFabric CTP Forum.</p>
<p>Thanks!</p>
<p>Alessandro Catorcini<br /> Principal Group Program Manager<br /> <a href="https://blogs.msdn.com/b/interoperability">Interoperability Strategy Team</a></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Announcing the Windows Azure AppFabric July release</title>
      <link>https://docs.microsoft.com/archive/blogs/msdn/appfabric/announcing-the-windows-azure-appfabric-july-release</link>
      <pubDate>Mon, 25 Jul 2011 09:00:00 GMT</pubDate>
      <dc:creator><![CDATA[netsqlservicesteam]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/appfabric/2011/07/25/announcing-the-windows-azure-appfabric-july-release/</guid>
      <description><![CDATA[Today we are excited to announce several updates and enhancements made to the Windows Azure...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;" size="2">Today we are excited to announce several updates and enhancements made to the Windows Azure AppFabric Management Portal and the Access Control service.</span></p>
<p><span style="font-size: small;"><b><span size="2">Management Portal</span></b></span></p>
<p><span style="font-size: small; text-decoration: underline;"><span size="2">Localization</span></span></p>
<p><span style="font-size: small;"><span size="2">As announced on the Windows Azure blog: </span><a href="https://blogs.msdn.com/b/windowsazure/archive/2011/07/18/windows-azure-platform-management-portal-updates-now-available.aspx" target="_blank"><span size="2">Windows Azure Platform Management Portal Updates Now Available</span></a><b></b><span size="2">, the Windows Azure Platform Management Portal now supports localization in 11 languages. The newly supported languages are Japanese, German, Traditional Chinese, Simplified Chinese, French, Italian, Spanish, Korean, Russian, and Brazilian Portuguese.&nbsp; </span></span></p>
<p><span style="font-size: small;" size="2">Users can choose their desired language from the language chooser in the top left pane of the Portal.</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/3771.clip_image001_337D92D5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/3771.clip_5F00_image001_5F00_337D92D5.png"><span size="2"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image001" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/5822.clip_image001_thumb_4802E253.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/5822.clip_5F00_image001_5F00_thumb_5F00_4802E253.png" width="177" height="150" /></span></a></span></p>
<p><span style="font-size: small;"><span size="2">You can read about additional enhancements in the blog post: </span><a href="https://blogs.msdn.com/b/windowsazure/archive/2011/07/18/windows-azure-platform-management-portal-updates-now-available.aspx" target="_blank"><span size="2">Windows Azure Platform Management Portal Updates Now Available</span></a><span size="2">.<b></b></span></span></p>
<p><span style="font-size: small; text-decoration: underline;"><span size="2">Co-admin support</span></span></p>
<p><span style="font-size: small;"><span size="2">Customers can grant access to additional users (Co-Administrators) on the Windows Azure Management Portal as documented here: </span><a href="https://msdn.microsoft.com/en-us/library/gg456328.aspx" target="_blank"><span size="2">How to Setup Multiple Administrator Accounts</span></a><span size="2">.</span></span></p>
<p><span style="font-size: small;" size="2">These Co-administrators will now have access to the AppFabric section of the portal.</span></p>
<p><span style="font-size: small;"><span size="2">For any questions or feedback regarding the Management Portal please visit the </span><a href="https://social.msdn.microsoft.com/Forums/en-US/windowsazuremanagement/threads" target="_blank"><span size="2">Managing Services on the Windows Azure Platform</span></a><span size="2"> forum.</span></span></p>
<p></p>
<p><span style="font-size: small;"><b><span size="2">Access Control</span></b></span></p>
<p><span style="font-size: small;" size="2">The following updates have been made to all ACS 2.0 namespaces.</span></p>
<h5><span style="font-size: small; text-decoration: underline;"><span style="font-family: Segoe UI;" size="2" face="Segoe UI">Rules now support up to two input claims</span></span></h5>
<h5><span style="font-size: small;"><span style="font-family: Segoe UI;" size="2" face="Segoe UI">The ACS 2.0 rules engine now supports a new type of rule that allows up to two input claims to be configured, instead of only one input claim. Rules with two input claims can be used to reduce the overall number of rules required to perform complex user authorization functions. For more information on rules with two input claims, see </span><a href="https://msdn.microsoft.com/en-us/library/gg185923.aspx" target="_blank">https://msdn.microsoft.com/en-us/library/gg185923.aspx</a><span style="font-family: Segoe UI;" size="2" face="Segoe UI"></span><span style="font-family: Segoe UI;" size="2" face="Segoe UI">. </span></span></h5>
<h5><span style="font-size: small;"><a name="_Changes"></a><span style="text-decoration: underline;"><span style="font-family: Segoe UI;" size="2" face="Segoe UI">Encoding is now UTF-8 for all OAuth 2.0 responses</span></span></span></h5>
<p><span style="font-size: small;" size="2">In the initial release of ACS 2.0, the character encoding set for all HTTP responses from the OAuth 2.0 endpoint was US-ASCII. In the July 2011 release, the character encoding of HTTP responses is now set to UTF-8 to support extended character sets.</span></p>
<h4><span style="font-size: small; text-decoration: underline;"><span style="font-family: Segoe UI;" size="2" face="Segoe UI">Quotas Removed</span></span></h4>
<p><span style="font-size: small;" size="2">The previous quotas on configuration data have been removed in this release. This includes removal of all limitations on the number of identity providers, relying party applications, rule groups, rules, service identities, claim types, delegation records, issuers, keys, and addresses that can be created in a given ACS namespace.</span></p>
<p><span style="font-size: small;" size="2">Please use the following resources to learn more about this release:</span></p>
<ul>
<li><span style="font-size: small;" size="2"><a href="https://blogs.msdn.com/b/vbertocci/archive/2011/07/25/new-in-acs-portal-in-multiple-languages-a-new-rule-type-and-wave-bye-bye-to-quotas.aspx">Vittorio Bertocci's blog post</a> </span></li>
<li><span style="font-size: small;" size="2"><a href="https://msdn.microsoft.com/en-us/library/gg429787.aspx" target="_blank">Release Notes</a></span></li>
<li><span style="font-size: small;" size="2"><a href="https://go.microsoft.com/fwlink/?LinkID=212360" target="_blank">MSDN Documentation</a></span></li>
<li><span style="font-size: small;" size="2"><a href="https://acs.codeplex.com" target="_blank">CodePlex Site</a></span></li>
</ul>
<p><span style="font-size: small;"><span size="2">For any questions or feedback regarding the Access Control service please visit the </span><a href="https://social.msdn.microsoft.com/Forums/en-US/windowsazuresecurity/threads" target="_blank">Security for the Windows Azure Platform</a><span size="2"></span><span size="2"> forum.</span></span></p>
<p><span style="font-size: small;" size="2">If you have not signed up for Windows Azure AppFabric and would like to start using these new capabilities, be sure to take advantage of our free trial offer. Just click on the image below and get started today!</span></p>
<p><span style="font-size: small;"><a href="https://www.microsoft.com/en-us/appfabric/azure/purchase.aspx"><span size="2"></span></a><span size="2"><a href="https://www.microsoft.com/en-us/appfabric/azure/purchase.aspx" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/45/09/metablogapi/5415.clip_image002_20C8991E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-45-09-metablogapi/5415.clip_5F00_image002_5F00_20C8991E.png" width="148" height="78" /></a></span></span></p>
<p><span style="font-size: small;" size="2">The AppFabric Team</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Tutorial: Creating a custom external service in Azure AppFabric June CTP</title>
      <link>https://docs.microsoft.com/archive/blogs/msdn/appfabric/tutorial-creating-a-custom-external-service-in-azure-appfabric-june-ctp</link>
      <pubDate>Wed, 20 Jul 2011 16:41:04 GMT</pubDate>
      <dc:creator><![CDATA[Miguel Susffalich]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/appfabric/2011/07/20/tutorial-creating-a-custom-external-service-in-azure-appfabric-june-ctp/</guid>
      <description><![CDATA[In this tutorial, Alan Smith (MVP) uses the Azure AppFabric June CTP to create a basic custom...]]></description>
      <content:encoded><![CDATA[<p>In <a href="https://geekswithblogs.net/asmith/archive/2011/07/18/146257.aspx">this</a> tutorial, Alan Smith (MVP) uses the Azure AppFabric June CTP to create a basic custom external service to call the BingMaps Geocode service. This is a great starting point on how to write a basic custom external service fully integrated with the Azure AppFabric designer June CTP. Look for the webcast version coming soon on <a href="https://channel9.msdn.com/Shows/AppFabric-tv">AppFabric.tv</a> and follow up posts to add more capabilities to this custom external service, such as rich domain-specific monitoring metrics and tracing integration. </p>  <p>Thanks to Alan for his active contribution to the AppFabric community!</p>]]></content:encoded>
    </item>
  </channel>
</rss>