<?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>Tiago Barbosa's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/tiagob/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/tiagob/feed.xml</link>
    <description>A little bit of my experience in the field</description>
    <lastBuildDate>Wed, 17 Apr 2019 04:10:49 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>All you need to know to create a Windows 8 App! - Part 3</title>
      <link>https://docs.microsoft.com/archive/blogs/tiagob/all-you-need-to-know-to-create-a-windows-8-app-part-3</link>
      <pubDate>Mon, 01 Apr 2013 15:05:00 GMT</pubDate>
      <dc:creator><![CDATA[tiagob [msft]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tiagob/2013/04/01/all-you-need-to-know-to-create-a-windows-8-app-part-3/</guid>
      <description><![CDATA[One more blog post in this Windows 8 App development series, this time focusing on Sharing content....]]></description>
      <content:encoded><![CDATA[<p style="text-align: justify;">One more blog post in this Windows 8 App development series, this time focusing on Sharing content. Keeping the same approach as the previous blog posts I'll use the solution from blog post 1 and 2. If you haven't done the other blog posts yet you might want to take a look at them.</p>
<ol>
<li><a title="Create a Windows 8 App based on the Visual Studio 2012 Templates" href="https://blogs.msdn.com/b/tiagob/archive/2013/03/02/all-you-need-to-know-to-create-a-windows-8-app.aspx" target="_blank">C<span style="font-family: Arial; font-size: 9pt; font-style: normal;">reate a Windows 8 App based on the Visual Studio 2012 Templates</span></a></li>
<li><strong><span style="font-family: Arial; font-size: 9pt;">Extending Windows 8 functionalities</span></strong></li>
<ul>
<li><strong></strong><span style="font-family: Arial; font-size: 9pt; font-style: normal;"><a title="Search" href="https://blogs.msdn.com/b/tiagob/archive/2013/03/07/all-you-need-to-know-to-create-a-windows-8-app-part-2.aspx" target="_blank">Search</a></span></li>
<li><strong><span style="font-family: Arial; font-size: 9pt;">Share</span></strong></li>
</ul>
<li><span style="font-family: Arial; font-size: 9pt;">User Data</span></li>
<ul>
<li><span style="font-family: Arial; font-size: 9pt; font-style: normal; font-weight: normal;">Local Data</span></li>
<li><span style="font-family: Arial; font-size: 9pt;">Roaming Data</span></li>
</ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Tiles</span></div>
</li>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Notifications</span></div>
</li>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">App Bar</span></div>
</li>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Integration with Windows Azure Mobile Services</span></div>
</li>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Tables</span></div>
</li>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Authentication</span></div>
</li>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">Push Notifications</div>
</li>
</ul>
</ol>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="text-align: justify; color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">In order to use Windows 8 Share capabilities you must understand that there are two ways of integrating Share capabilities in your App. Your App can be a<strong> Share Target</strong> or a <strong>Share Source</strong>. In this specific example I'll focus on the Share Source since it is what makes more sense in the context of our Windows Store App. If you want to learn more about integrating Share with your App behond the context of this blog series you should check out the following links:</p>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a title="Guidelines for sharing content" href="https://msdn.microsoft.com/en-us/library/windows/apps/hh465251.aspx" target="_blank">Guidelines for sharing content</a></div>
</li>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a title="Sharing content source app sample" href="https://code.msdn.microsoft.com/Sharing-Content-Source-App-d9bffd84" target="_blank">Sharing content source app sample</a></div>
</li>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a title="Sharing content target app sample" href="https://code.msdn.microsoft.com/Sharing-Content-Target-App-e2689782" target="_blank">Sharing content target app sample</a>&nbsp;</div>
</li>
</ul>
<p style="text-align: justify; color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">The objective of this blog post is to integrate Share in our App in a way that will allow us to share SampleDataItem's as text to other Apps that are configured as Share Target. In order to do so we will use the DataTransfer namespace that contains all the methods needed to share: <strong>text</strong>, <strong>link</strong>, <strong>HTML</strong>, <strong>image</strong> or <strong>files</strong>.</p>
<p style="text-align: justify; color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="text-align: justify; color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">First of all just open the ItemDetailPage.xaml.cs file since this is the page that will have the content we want to share. Just add the following code to the LoadState method.This code will allow you know everytime the Share charm is tapped in the context of this page. As you might see <em>dataTransferManager</em>&nbsp;is a global variable so you&nbsp;must declare it in the beginning of the class declaration instead of inside this specific method. &nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4812.shareEvent.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4812.shareEvent.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4812.shareEvent.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4812.shareEvent.PNG" alt="" border="0" /></a></p>
<p style="text-align: justify; color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">You must remove the event handler when you exit this page and this is done in the SaveState method. Just copy the following code to the SaveState method and you won't have issues with this anymore.</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/3515.removeEvent.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/3515.removeEvent.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/3515.removeEvent.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/3515.removeEvent.PNG" alt="" border="0" /></a></p>
<p style="text-align: justify; color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="text-align: justify; color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">The next step is to implement the method <em>OnDataRequested </em>that will be fired when the Share charm is tapped by the user.&nbsp;This is a very simple method that will do one of two things: <strong>Provide content to the Share Target App</strong> or <strong>display an error message for the user</strong>.</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2605.onDataRequested.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2605.onDataRequested.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2605.onDataRequested.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2605.onDataRequested.PNG" alt="" border="0" /></a>&nbsp;&nbsp;</p>
<p style="text-align: justify; color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="text-align: justify; color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">If you look closely to the method above you will see that the work of providing content to the Target App is done through a method called <em>GetShareContent</em> which receives the request as an argument. This method is where all the real work is done and the way it may be implemented is the following. In order to share text there are two things that you must provide which are the <strong>Title</strong> and the <strong>Text</strong>. As you may see I also provide the description but this is an optional field. So basically what I've done was to use the DataPackage in order to send the information to the Share Target App. Pretty easy!</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/7416.GetShareContent.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/7416.GetShareContent.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/7416.GetShareContent.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/7416.GetShareContent.PNG" alt="" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">Remember that this code is the implementation for the method to share text. If you wish to share images, links, HTML or files you must look at the links I posted before in order to get more information on this.</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;With this you should be able to share the content of every <em>SampleDataItem</em> individually to the Share Target App you select. You are now able to see something like this...</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/6177.screen.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/6177.screen.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/6177.screen.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/6177.screen.png" alt="" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">This might be the usefull in most cases but for more complex scenarios you should explore other solutions and for that I recommend that you look at the links I posted in the beginning and choose the one that fits your purpose best. Hope this post is usefull to you and remember this is another great feature that will give greatness to your App.</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">See you in the next post where I will show you how to handle User Data...</p>]]></content:encoded>
    </item>
    <item>
      <title>All you need to know to create a Windows 8 App! - Part 2</title>
      <link>https://docs.microsoft.com/archive/blogs/tiagob/all-you-need-to-know-to-create-a-windows-8-app-part-2</link>
      <pubDate>Thu, 07 Mar 2013 05:21:00 GMT</pubDate>
      <dc:creator><![CDATA[tiagob [msft]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tiagob/2013/03/07/all-you-need-to-know-to-create-a-windows-8-app-part-2/</guid>
      <description><![CDATA[For the second&nbsp;blog post in this series I will focus on Extending Windows Search to your app as...]]></description>
      <content:encoded><![CDATA[<p>For the second&nbsp;blog post in this series I will focus on Extending Windows Search to your app as promised. I will use the project we created ealier on part one for this blog post and until the end of the series.</p>
<ol>
<li><a title="Create a Windows 8 App based on the Visual Studio 2012 Templates" href="https://blogs.msdn.com/b/tiagob/archive/2013/03/02/all-you-need-to-know-to-create-a-windows-8-app.aspx" target="_blank">C<span style="font-family: Arial; font-size: 9pt; font-style: normal;">reate a Windows 8 App based on the Visual Studio 2012 Templates</span></a></li>
<li><strong><span style="font-family: Arial; font-size: 9pt;">Extending Windows 8 functionalities</span></strong></li>
<ul>
<li><strong><span style="font-family: Arial; font-size: 9pt; font-style: normal;">Search</span></strong></li>
<li><span style="font-family: Arial; font-size: 9pt;"><a title="Share" href="https://blogs.msdn.com/b/tiagob/archive/2013/04/01/all-you-need-to-know-to-create-a-windows-8-app-part-3.aspx" target="_blank">Share</a></span></li>
</ul>
<li><span style="font-family: Arial; font-size: 9pt;">User Data</span></li>
<ul>
<li><span style="font-family: Arial; font-size: 9pt; font-style: normal; font-weight: normal;">Local Data</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Roaming Data</span></li>
</ul>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Tiles</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Notifications</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">App Bar</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Integration with Azure Mobile Services</span></li>
<ul>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;" value="1"><span style="font-family: Arial; font-size: 9pt; font-style: normal; font-weight: normal;">Tables</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Authentication</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Push Notifications</span></li>
</ul>
</ol>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">If you remember from the first post you will have to declare the search capability for your App in order to integrate it with the App but...If you do it the right way Visual Studio 2012 will do it for you. :)</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">Instead of opening the App manifest in Visual Studio and adding the Search declaration manually...</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4762.addSearchManually.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4762.addSearchManually.PNG"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4762.addSearchManually.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4762.addSearchManually.PNG" alt="" width="365" height="205" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">...you may create a new Search Contract and all of this will be automatically created for you. This and a bunch of code that you would have to create by yourself.</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">So, for doing it the easy way just right click your project and Add a new Item. In the Wizard select <em>Windows Store</em> on the left side of the screen and scroll down until you find <em>Search Contract. </em>When you do select it and add this new item to your project</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2110.AddNewItem.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2110.AddNewItem.png"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2110.AddNewItem.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2110.AddNewItem.png" alt="" width="246" height="78" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/1460.AddSearchContract.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/1460.AddSearchContract.png"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/1460.AddSearchContract.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/1460.AddSearchContract.png" alt="" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">When you do this you'll have:</p>
<ol>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">SearchResultsPage.xaml in your project</div>
</li>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">Search declaration enabled in the App manifest</div>
</li>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">Code in App.xaml.cs that will allow your App to know when the Search charm is being called</div>
</li>
</ol>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">The first two points have nothing much to explain but the third point is very important. There are basically two ways in which your App can be warned that there is Search request: <strong>with App running</strong> or <strong>with App closed</strong>. This is what is handled for you in the <em>OnSearchActivated</em> method below. You should look at this method with more attention but for the purpose of this blog post I'll explain it very lightly. What this method does is check what was the state of your App previsouly to the running state. So if your App was terminated it will try to load state using SuspensionManager (class that allows you to store and restore App state seen on the first post). Otherwise, if your App is already running it will navigate to the <em>SearchResultsPage</em> passing the query as a parameter.</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4382.OnSearchActivated.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4382.OnSearchActivated.PNG"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4382.OnSearchActivated.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4382.OnSearchActivated.PNG" alt="" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">So you have a class that will handled Search activation and navigation for you but will it handle data loading?! The answer is not really but it makes your job a lot easier!</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">In order to handle data loading you have two separate methods in <em>SearchResultsPage.xaml.cs (</em>LoadState and Filter_SelectionChanged). This is done in two steps:</p>
<ol>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">When you navigate to the SearchResultsPage the LoadState method is called. In this method you should load the search filters and the number of results for each feature.</div>
</li>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">When you change the selected filter you should load the right results to the result pane</div>
</li>
</ol>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">As I wanted to keep our App working with SampleData and still prepare to receive real data I created two methods in the SampleDataSource class. One that will return a dictionary with the filter name and the number of results in that filter and the second one that will return my results knowing which filter was selected.So you should add to the SampleDataSource class the following methods.</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4572.GetAllFilters.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4572.GetAllFilters.PNG"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4572.GetAllFilters.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4572.GetAllFilters.PNG" alt="" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/3681.SearchGroup.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/3681.SearchGroup.PNG"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/3681.SearchGroup.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/3681.SearchGroup.PNG" alt="" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">Of course the search system is pretty basic but you can always improve it. I'm only explaining you the basic steps so you can work your magic in it! Now that we have all the helper methods we need the only thing that we are lacking is integrating this in the SearchResultsPage. So if you go to the SearchResultsPage and&nbsp;navigate to the LoadState method just replace your existing code for this one. Be aware that I changed the <em>query </em>variable in order to be global since I'll need it later when I get the results for the selected filter. This code will add the filters returned by the SampleDataSource into the SearchResultsPage.</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/7571.LoadState.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/7571.LoadState.PNG"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/7571.LoadState.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/7571.LoadState.PNG" alt="" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">Now that we have the filters in-place the last thing we need to do is to react to the filter selection changing. Remember that&nbsp;we previously created a method that will help us do this so just add this line of code to the TODO section in your existing code.</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4428.SearchResults.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4428.SearchResults.PNG"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4428.SearchResults.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4428.SearchResults.PNG" alt="" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">So, with this you're good to go. Just press F5, cross your fingers and use search that Windows 8 provides right in your App!</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">Just one last thing...you will notice that when you click your results nothing happens, right? That's because you haven't enabled it to do so. Go to SearchResultsPage.xaml and find resultsGridView. You need to had the <em>ItemClickEvent </em>to this GridView.</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/0143.gridView.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/0143.gridView.PNG"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/0143.gridView.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/0143.gridView.PNG" alt="" width="431" height="205" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">This will create a method in the code-behind and all you need to do in order to navigate to the result's content is the following:</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/3000.itemClick.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/3000.itemClick.PNG"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/3000.itemClick.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/3000.itemClick.PNG" alt="" width="469" height="75" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">And that's it!! Hope you found this interesting. Glad to have your feedback on this one and see you on the third blog post about integrating your App with Sharing capabilities.</p>]]></content:encoded>
    </item>
    <item>
      <title>All you need to know to create a Windows 8 App! - Part 1</title>
      <link>https://docs.microsoft.com/archive/blogs/tiagob/all-you-need-to-know-to-create-a-windows-8-app-part-1</link>
      <pubDate>Sat, 02 Mar 2013 12:48:00 GMT</pubDate>
      <dc:creator><![CDATA[tiagob [msft]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tiagob/2013/03/02/all-you-need-to-know-to-create-a-windows-8-app-part-1/</guid>
      <description><![CDATA[&nbsp;If you are looking for the secret ingredient that turns App developers into millionares you...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;<span style="font-family: arial,helvetica,sans-serif;">If you are looking for the secret ingredient that turns App developers into millionares you are searching in the wrong place. But if you find out&nbsp;the secret ingredient just let me know :)</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">This blog post is actually the first of a blog post series where I'm going to explain you all you need to know in order to create a great Windows 8 App. Most of you won't even need all that I will be showing you but it's always good to know it if you need sometime. The subjects that I'll show are:</span></p>
<ol style="font-family: Arial; font-size: 9pt; font-style: normal; font-weight: normal; margin-top: 0in; margin-bottom: 0in; margin-left: 0.375in; unicode-bidi: embed; direction: ltr;" type="1">
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;" value="1"><strong><span style="font-family: Arial; font-size: 9pt; font-style: normal;">Create a Windows 8 App based on the Visual Studio 2012 Templates</span></strong></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Extending Windows 8 functionalities</span></li>
<ul>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;" value="1"><span style="font-family: Arial; font-size: 9pt; font-style: normal; font-weight: normal;"><a title="Search" href="https://blogs.msdn.com/b/tiagob/archive/2013/03/07/all-you-need-to-know-to-create-a-windows-8-app-part-2.aspx" target="_blank">Search</a></span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;"><a title="Share" href="https://blogs.msdn.com/b/tiagob/archive/2013/04/01/all-you-need-to-know-to-create-a-windows-8-app-part-3.aspx" target="_blank">Share</a></span></li>
</ul>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">User Data</span></li>
<ul>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;" value="1"><span style="font-family: Arial; font-size: 9pt; font-style: normal; font-weight: normal;">Local Data</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Roaming Data</span></li>
</ul>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Tiles</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Notifications</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">App Bar</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Integration with Azure Mobile Services</span></li>
<ul>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;" value="1"><span style="font-family: Arial; font-size: 9pt; font-style: normal; font-weight: normal;">Tables</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Authentication</span></li>
<li style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">Push Notifications</span></li>
</ul>
</ol>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">This blog post will cover the first topic on how to create a Windows 8 App based on the Visual Studio 2012 templates. I'll also explain the basic anatomy of a Window 8 project.</span></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">So, in order for you to create a Windows 8 App you just need two things: <strong>Windows 8</strong>&nbsp;and <strong>Visual Studio 2012</strong>. Visual Studio 2012 already comes with some Windows Store Apps templates: </span></p>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;"><strong>Blank App: </strong>A single-page project for a Windows Store App that has no predefined controls or layout.</span></div>
</li>
</ul>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;"><strong>Grid App: </strong>A three-page project for a Windows Store App that navigates among grouped items arranged in a grid. Dedicated pages display group and item details. </span></div>
</li>
</ul>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;"><strong>Split App: </strong>A two-page project for a Windows Store App that navigates among grouped items. The first page allows group selection while the second displays an item list alongside details for the selected items.</span></div>
</li>
</ul>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/1325.createProject.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/1325.createProject.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/1325.createProject.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/1325.createProject.PNG" alt="" border="0" /></a></span></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><span style="font-family: Arial; font-size: 9pt;">For the purpose of this blog series I will choose the Grid App template since it is the one that has all the controls and styles we need. Just select the Grid App template and you'll see the following project structure.</span></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8475.projectStructure.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8475.projectStructure.PNG"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8475.projectStructure.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8475.projectStructure.PNG" alt="" width="217" height="350" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;Now that we created our App let's explore the project's anatomy a little bit further. I'll focus here on some of the files that will be important for this blog series.</p>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><strong>StandardStyles.xaml: </strong>This where you will define all your styles for your App. The template that we choose already comes with a lot of styles for buttons, text, scrollviewers, etc...</div>
</li>
</ul>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><strong>SuspensionManager.cs: </strong>This helper class contains some methods that will help handle Application lifecycle. You should use the methods in this class to save the user state when the App is suspended and then load the user state when the App is resumed. If you do this you'll give the user a better experience.</div>
</li>
</ul>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><strong>SampleDataSource.cs: </strong>This class is a sample datasource that will be used to populate your App with information. This will allow you to test your App before using real data. If you intend to use the GridView control you might want to keep this file and use this class' structure as it represents exactly what GridView expects. This will be explained on a later blog post when we connect our App to real data.</div>
</li>
</ul>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><strong>GroupDetailPage.xaml: </strong>This is the page that will show all of the group's items.</div>
</li>
</ul>
<p style="text-align: center; color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/1031.groupDetails.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/1031.groupDetails.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/1031.groupDetails.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/1031.groupDetails.png" alt="" border="0" /></a></p>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><strong>GroupedItemsPage.xaml: </strong>This is the main page where our grouped&nbsp;items will be displayed&nbsp;inside a GridView.</div>
</li>
</ul>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/0804.GroupedItems.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/0804.GroupedItems.png"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/0804.GroupedItems.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/0804.GroupedItems.png" alt="" border="0" /></a></p>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><strong>ItemDetailPage.xaml: </strong>This page will show the item details.</div>
</li>
</ul>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8507.itemDetails.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8507.itemDetails.png"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8507.itemDetails.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8507.itemDetails.png" alt="" border="0" /></a></p>
<ul>
<li>
<div style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><strong>Package.appxmanifest: </strong>The manifest file is where you define what are your App's capabilities and declarations such as search and share. This is also where you define you app logos.</div>
</li>
</ul>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4405.manifest.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4405.manifest.PNG"><img style="margin-right: auto; margin-left: auto; display: block;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4405.manifest.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4405.manifest.PNG" alt="" border="0" /></a></p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">Now that you know what is the anatomy of a Windows 8 App just press F5 and navigate in your App to understand how it goes.</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">See you on the next blog post where I'll explain you how to integrate Search in your App...</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>
<p style="color: black; margin-top: 0px; margin-bottom: 0px; vertical-align: middle;">&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Remote Debugging a Windows Store App on your Surface</title>
      <link>https://docs.microsoft.com/archive/blogs/tiagob/remote-debugging-a-windows-store-app-on-your-surface</link>
      <pubDate>Thu, 21 Feb 2013 11:57:00 GMT</pubDate>
      <dc:creator><![CDATA[tiagob [msft]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tiagob/2013/02/21/remote-debugging-a-windows-store-app-on-your-surface/</guid>
      <description><![CDATA[This happened to me and I'm sure a lot of you guys will go through the same. I got my Surface today,...]]></description>
      <content:encoded><![CDATA[<p>This happened to me and I'm sure a lot of you guys will go through the same. I got my Surface today, a beautifull device where I will spend a lot of time and where I want to test my apps but...it seems that I can't because I can't install Visual Studio 2012 on this device. Unfortunately this is not 100% true. It's true that I can't install Visual Studio 2012 on my Surface but actually I don't need to. I just need to configure it for remote debugging. If you are using any other kind of device and you still want to do remote debugging you can also follow this tutorial.</p>
<p>This requires a few steps:</p>
<ol>
<li>Setting up the tools on Surface</li>
<li>Configuring the Remote Debugger on Surface</li>
<li>Lauching the App on the remote Debugger from the local machine</li>
</ol>
<h1><span style="color: #ff6600;"><strong>1. Setting up the tools on Surface</strong></span></h1>
<p>&nbsp;In order to get the tools just follow this <a title="link" href="https://www.microsoft.com/en-us/download/details.aspx?id=30674" target="_blank">link</a>&nbsp;and select the ARM version. After downloading this file just install it and you're done for the first step.</p>
<h1><strong><span style="color: #ff6600;">2. Configuring the Remote Debugger on Surface</span></strong></h1>
<p>&nbsp;The first time you enter the Remote Debugger you will be requested to allow some firewall rules. Choose whatever fits your needs and then proceed.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2627.2_debuggerScreen.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2627.2_5F00_debuggerScreen.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2627.2_debuggerScreen.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2627.2_5F00_debuggerScreen.PNG" alt="" border="0" /></a></p>
<p>In the Remote Debugger there are basically two things you have to care about: TCP/IP Port and Authentication. You can leave the default port. The authentication is what you have to worry about. By default the Authentication mode is "Windows Authentication" but you might want to disable it in some specific scenarios.</p>
<p>Windows Authentication in the Remote Debugger requires you to have the same account configured in both devices. In my case my laptop is domain-joined so I can't have the same account in both devices. This will work if you have your Microsoft account connected with both devices.</p>
<p>If this is not the case you should allow "No authentication" and check "Allow any user to debug".</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2210.2_debuggeroptions.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2210.2_5F00_debuggeroptions.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2210.2_debuggeroptions.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2210.2_5F00_debuggeroptions.PNG" alt="" width="341" height="261" border="0" /></a></p>
<p>Whatever your scenario may be if you follow these rules you are good to go.</p>
<h1><span style="color: #ff6600;"><strong>3. Lauching the App on the remote Debugger from the local machine</strong></span></h1>
<p><span style="color: #000000;">Now just go to Visual Studio 2012, open the project that you want to debug and change the debugging options to "Remote Machine". </span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/1881.2_remotemachinesetting.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/1881.2_5F00_remotemachinesetting.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/1881.2_remotemachinesetting.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/1881.2_5F00_remotemachinesetting.png" alt="" width="234" height="139" border="0" /></a></p>
<p>&nbsp;The first time you make thins change you will see the "Remote Debugger Connections" wizard. If everything went well on the previous steps you will immediately find your Surface device in the "My Subnet" tab. Just select it and you have done all the configurations needed in order to do Remote 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/57/18/4150.2_remotemachineselection.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4150.2_5F00_remotemachineselection.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/4150.2_remotemachineselection.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/4150.2_5F00_remotemachineselection.PNG" alt="" width="364" height="263" border="0" /></a></p>
<p>The final step is just to press F5 in order to run the App and you should see the App running on your Surface. Also notice that a connection was established to the Remote Debugger console. The first time you connect to your Surface you will have to get a developer account for the Surface device in order to unlock it for App testing. Just fill in your Microsoft Account and that's it.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8176.2_debuggerconnected.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8176.2_5F00_debuggerconnected.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8176.2_debuggerconnected.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8176.2_5F00_debuggerconnected.PNG" alt="" width="487" height="160" border="0" /></a></p>
<p>Now you can test your Apps in your new Surface. Hope this was helpfull!</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Connect your Windows 8 App to Skydrive</title>
      <link>https://docs.microsoft.com/archive/blogs/tiagob/connect-your-windows-8-app-to-skydrive</link>
      <pubDate>Sun, 20 Jan 2013 11:22:00 GMT</pubDate>
      <dc:creator><![CDATA[tiagob [msft]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tiagob/2013/01/20/connect-your-windows-8-app-to-skydrive/</guid>
      <description><![CDATA[In this post I will show you how to connect your Windows Store App to Skydrive in order to get all...]]></description>
      <content:encoded><![CDATA[<p>In this post I will show you how to connect your Windows Store App to Skydrive in order to get all your picture albums.</p>
<p>First of all you need to reserve a space for you app in the Windows Store. Just go to <a href="https://dev.windows.com">https://dev.windows.com</a>&nbsp;and sign in. Go to Dashboard and click submit&nbsp;an app. Then you have to choose a name for your app (see image below) and reserve it. Now you are ready for the next step.&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/7382.p1_reservename.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/7382.p1_5F00_reservename.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/7382.p1_reservename.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/7382.p1_5F00_reservename.PNG" alt="" border="0" /></a></p>
<p>Next you will need to install the Live SDK for Windows Store Apps. Just follow this <a title="link" href="https://go.microsoft.com/fwlink/?LinkID=242807" target="_blank">link</a> in order to do so.&nbsp;</p>
<p>Once you got the SDK installed just open Visual Studio 2012 and create a Windows Store App based on the Grid Template. We will use this sample template without making much changes to the template or the datasource.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2335.p1_createproject.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2335.p1_5F00_createproject.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2335.p1_createproject.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2335.p1_5F00_createproject.PNG" alt="" border="0" /></a></p>
<p>Now we have a&nbsp;very simple project based on the Grid App template which will allow us to have&nbsp;the Skydrive folders and the respective images inside&nbsp;in a&nbsp;few steps.</p>
<p>&nbsp;</p>
<p>The first step we will do is to associate the app with the Windows Store&nbsp;App account we created previously. For that just right-click on the project folder, "store" and then "associate App with the store" (see image below). Just follow the wizard steps and you will have your app associated with the store. This step will populate the App's manifest file with information like Package Name, Package Display Name, Publisher ID and Publisher Display Name.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/5126.p1_associateapp.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/5126.p1_5F00_associateapp.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/5126.p1_associateapp.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/5126.p1_5F00_associateapp.png" alt="" border="0" /></a>&nbsp;</p>
<p>The next step is to add LiveSDK reference to the project in order to be able to use the Live Services to authenticate the user and request access to Skydrive.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2746.p1_addreference.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2746.p1_5F00_addreference.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/2746.p1_addreference.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/2746.p1_5F00_addreference.png" alt="" width="243" height="78" border="0" /></a></p>
<p>Now we have to add a button to the main page. So lets go to the "GroupedItemsPage.xaml" page, open the&nbsp;Toolbox&nbsp;and drag a button over there (see the following image).</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/6114.p1_addbutton.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/6114.p1_5F00_addbutton.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/6114.p1_addbutton.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/6114.p1_5F00_addbutton.png" alt="" border="0" /></a></p>
<p>Of course that right now this button doesn't do anything so we need to configure what we want it to do and we do that by configuring the scopes. In this context the scopes are what we want permission to so we are requesting permission to have single sign-on, the users basic information and access to skydrive. Another thing that is very important is the event handler for session changed because the SignInButton will only make the connection and request the Session Token. We will then have to use the token to make the request to Skydrive.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8080.p1_signinbuttonxaml.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8080.p1_5F00_signinbuttonxaml.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8080.p1_signinbuttonxaml.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8080.p1_5F00_signinbuttonxaml.PNG" alt="" width="512" height="140" border="0" /></a></p>
<p>&nbsp;The next thing we will do is implement the SessionChanged event (see following picture). The result of the SignInButton gives us two essential values: Status and Session. As you can see in the image below we are using the status in order to check if the user gave us authorization to access his information. If the result is "Connected" then we have succeeded and we may proceed with what we want to do next. In this particular scenario what we want to do is save the session in first place. I will save the session in a global variable because we will need access to it later on.</p>
<p>Then we will create a LiveConnectClient and give it the current session as a parameter. This will allow us to query the Live services accordingly to our level of permission. Next we will get the basic info from the user using the GetAsync method and passing the string "me" as a parameter. Then, just to give the user some feedback, I will set the page title equal to his name as you might see below.</p>
<p>The final step is to call a method that will load the photos from the user's Skydrive.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8787.p1_sessionchanged.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8787.p1_5F00_sessionchanged.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8787.p1_sessionchanged.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8787.p1_5F00_sessionchanged.PNG" alt="" border="0" /></a></p>
<p>&nbsp;In order to keep the coherence with the project template we will use the same approach to load data as it was before. And for this one to work we will need to go to the LoadState method and clear the content of it because we only want the user to see the info when he is signed in.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/3806.p1_loadPhotos.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/3806.p1_5F00_loadPhotos.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/3806.p1_loadPhotos.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/3806.p1_5F00_loadPhotos.PNG" alt="" border="0" /></a></p>
<p>So, the real job to load the photos will be done in the SampleDataSource class. Go to this class and more concretly to this class constructor and clear all the content. This content will be replaced by a method that I will call "LoadData". This is the method that will get the user's pictures from Skydrive.</p>
<p>This is an asyncronous method and the way we will do this is very simple. If you know the structure of the DataGrid in the main page you know that this control receives groups that contain items inside so we have to keep the same&nbsp;structure. In first place we need to create a LiveConnectClient in order to be able to retrieve the user data. In order to get the Skydrive photo albums we do an async call to the Live Services passing "me/albums" as a parameter. This will give us all the folders that are defined as picture folders. We then create our groups based on this information. Then we have to make another call to the Live Services where we pass a string as parameter that is composed by the album id and the string "/files". This call will return information about every item inside this folder. We will use this information to create our items and put them inside every group.</p>
<p><span style="color: #ff0000;">If you look carefully when creating groups and items there are some fields left blank. This is because I wanted to keep this post as much simple as I could so I didn't changed the way this classes are created.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8081.p1_loadData.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8081.p1_5F00_loadData.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/18/8081.p1_loadData.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-18/8081.p1_5F00_loadData.PNG" alt="" border="0" /></a></p>
<p>Now, if you run the sample you should be fine to get all the pictures from your skydrive. You will be prompted to garantee access to Skydrive and then your albums and pictures will be loaded to the screen.</p>
<p>Be aware that there are some guidelines that should be followed in order to have your app approved in the store. In this post I didn't focus on this but you should look for it in <a title="this" href="https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh968445.aspx" target="_blank">this</a> document.</p>
<p>&nbsp;</p>
<p>Have fun!</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>