<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - From Windows Phone 7 to Windows 8 Metro, one app&#39;s journey</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/coding4fun/blog/From-Windows-Phone-7-to-Windows-8-Metro-one-apps-journey/RSS"></atom:link>
	<image>
		<url>http://files.channel9.msdn.com/thumbnail/74527b5c-e04c-48a3-acc9-5e84a1dbb7c7.png</url>
		<title>Channel 9 - From Windows Phone 7 to Windows 8 Metro, one app&#39;s journey</title>
		<link></link>
	</image>
	<description>Last week we highlighted Den Delimarsky&#39;s Visual Studio Achievements for Windows Phone 7 app. On this Metro Monday, seems fitting to pair that post up with this one. With Windows 8 and Metro a common question is, &amp;quot;How hard is it to re-use, re-purpose or port a Windows Phone 7 app to a Windows 8 Metro Style app?&amp;quot; Den&#39;s stepped up and answered that very question... Porting Visual Studio Achievements for Windows Phone to Windows 8 Article SeriesVisual Studio Achievements for Windows Phone is an open-source application that aggregates Channel9 Visual Studio Achievements to a Windows Phone device (couldn’t have made it more obvious).  I ported this application to Windows 8 as a general learning experience and made the notes available for the public. You can familiarize yourself with the process I followed by reading the articles below: Porting Visual Studio Achievements for WP to Windows 8 - Layout and basic bindings Porting Visual Studio Achievements for WP to Windows 8 - Minor problems and data acquisition Porting Visual Studio Achievements for WP to Windows 8 - Getting primary user input Porting Visual Studio Achievements for WP to Windows 8 - Serialization and Storage Porting Visual Studio Achievements for WP to Windows 8 - Viewing and Sharing Porting a Windows Phone application to Windows 8 - A Look from 10,000 Feet Above If you would like to share some feedback and similar experiences, feel free to do so. The series starts at the very beginning,starting with a Windows Phone 7 app and then through completing it and documenting lessons learned. Porting Visual Studio Achievements for WP to Windows 8 - Layout and basic bindingsOne of the great features that is currently highlighted for Windows 8 and specifically WinRT is the low barrier of entry for existing Windows Phone and Silverlight developers in general. There was already a case of an existing Windows Phone application being ported to the new OS, but I decided to actually document the entire porting process in its core. Let&#39;s start with the very basics and assume that I have no code whatsoever on my local machine. I am heading over to the CodePlex page and download the source ZIP. OI course, you might want to choose a version control system and pull the source that way, but I will leave that at your own discretion. The default solution is of course opened in Visual Studio 2010. Your solution contents should resemble this:  Now let&#39;s working on the actual new project. Launch Visual Studio 11 Beta and click on New Project. Select Visual C# &amp;gt; Windows Metro Style and finally - Blank Application. Give a unique name to the project. I personally used VSAW8. Open BlankPage.xaml - this is the main work page that will display all necessary user information. For convenience purposes, I renamed it to MainPage.xaml. ... Porting a Windows Phone Application to Windows 8 - A Look from 10,000 Feet AboveI managed to successfully port my Visual Studio Achievements for Windows Phone to Windows 8 - it now fully works in the Metro environment with absolutely the same capabilities as its mobile counterpart (the Windows 8 version is mobile to some extent too, since Windows 8 will be used on tablets). This article represents a general overview of the process. TimeAs long as the application is well-designed, it should not take much time to port it to Metro. So if you have a good separation of concerns and files are structured well in a solution, you can just copy and paste the necessary components, adjust the namespaces, update references and you are ready to go in a lot of cases. There are exceptions, that I will be talking about later in this article, but generally the most time-consuming part of the process is the threading model reorganization. Recommended reading: App Porting to Windows 8 Already Possible  ReferencesThere is not much trouble with modifying references either. As I was moving code files from the Windows Phone project to the Metro one, I had to do slight modifications in the JSON parser that is now accessed through Windows.Data.Json, which is much nicer than its Silverlight counterpart, by the way, and I was not sure how I should reference it. ... Bottom LineThe overall porting experience is straightforward and easy to the point where parts of it could be automated. Should a developer create applications that are released both for Windows 8 and Windows Phone? Yes. Can most of the code base be reused? Yes. Do both applications have to provide the same experience? The consistency of the UI is a given as long as you are following the general conventions, but you might also consider building a Windows Phone application that is a companion for its Windows 8 counterpart instead of a duplicate. If you have a Windows Phone 7 app today and are wondering what it would take turn it into a Windows 8 Metro Style app, or are just interested in seeing a Windows 8 Metro Style app being built, this series is a must read... </description>
	<link></link>
	<language>en</language>
	<pubDate>Tue, 21 May 2013 10:58:21 GMT</pubDate>
	<lastBuildDate>Tue, 21 May 2013 10:58:21 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: From Windows Phone 7 to Windows 8 Metro, one app&#39;s journey</title>
		<description>
			<![CDATA[<p>Hi there,</p><p>This is a great source for .NET next generation developers. I was about to follow the port journey but I got a couple of compilation errors when I downloaded the original Windows Phone app. Visual Studio can't resolve the project references to System.Json and System.Windows.Controls.Input. Any ideas? Do I need to install .NET 4.5?</p><p>&nbsp;</p><p>Thanks</p><p>posted by AntonioBaker</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/From-Windows-Phone-7-to-Windows-8-Metro-one-apps-journey#c634726006462906622</link>
		<pubDate>Mon, 14 May 2012 13:57:26 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/From-Windows-Phone-7-to-Windows-8-Metro-one-apps-journey#c634726006462906622</guid>
		<dc:creator>AntonioBaker</dc:creator>
	</item>
	<item>
		<title>Re: From Windows Phone 7 to Windows 8 Metro, one app&#39;s journey</title>
		<description>
			<![CDATA[<p>@<a href="/coding4fun/blog/From-Windows-Phone-7-to-Windows-8-Metro-one-apps-journey#c634726006462906622?areaType=Blogs&amp;areaName=Coding4FunBlog">AntonioBaker</a>:Those are in the Silverlight&nbsp;for Windows Phone Toolkit. Check out last Monday's post for a few more details, <a href="http://channel9.msdn.com/coding4fun/blog/Visual-Studio-Achievements-for-Windows-Phone">http://channel9.msdn.com/coding4fun/blog/Visual-Studio-Achievements-for-Windows-Phone</a></p><p>System.Json is part of the Silverlight SDK. Here's the path where that reference resolves for me, C:\Program Files (x86)\Microsoft SDKs\Silverlight\v4.0\Libraries\Client\System.Json.dll</p><p>posted by gduncan411</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/From-Windows-Phone-7-to-Windows-8-Metro-one-apps-journey#c634726055444980023</link>
		<pubDate>Mon, 14 May 2012 15:19:04 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/From-Windows-Phone-7-to-Windows-8-Metro-one-apps-journey#c634726055444980023</guid>
		<dc:creator>gduncan411</dc:creator>
	</item>
</channel>
</rss>