<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Michael Sync &#187; Silverlight</title>
	<atom:link href="http://michaelsync.net/category/silverlight/feed" rel="self" type="application/rss+xml" />
	<link>http://michaelsync.net</link>
	<description>Sharing our knowledge</description>
	<lastBuildDate>Sun, 15 Aug 2010 15:46:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Silverlight 4 &#8211; WCF RIA Services Presentation</title>
		<link>http://michaelsync.net/2010/07/18/silverlight-4-wcf-ria-services-presentation</link>
		<comments>http://michaelsync.net/2010/07/18/silverlight-4-wcf-ria-services-presentation#comments</comments>
		<pubDate>Mon, 19 Jul 2010 05:05:30 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://michaelsync.net/?p=1714</guid>
		<description><![CDATA[Just in case if you are not following our Singapore Silverlight User Group&#8217;s website, here is the WCF RAI presentation slide from our last meetup. Please feel free to download it.. I hope it would be helpful if you are also preparing a talk about WCF RIA.. :) Download ~ WCF RIA Services Presentation.pptx (513KB) [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F07%2F18%2Fsilverlight-4-wcf-ria-services-presentation"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F07%2F18%2Fsilverlight-4-wcf-ria-services-presentation&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Just in case if you are not following our <a href="http://sgsug.org/">Singapore Silverlight User Group&#8217;s website</a>, here is the WCF RAI presentation slide from our last meetup. Please feel free to download it.. I hope it would be helpful if you are also preparing a talk about WCF RIA.. :)</p>
<p><strong>Download ~</strong></p>
<ul>
<li><a href="http://sgsug.org/wp-content/uploads/2010/06/WCF-RIA-Services-Presentation.pptx">WCF RIA Services Presentation.pptx (513KB)</a></li>
<li><a href="http://sgsug.org/wp-content/uploads/2010/06/WCF-RIA-Services-Presentation.ppt">WCF RIA Services Presentation.ppt – Office 2003 Format(1.67MB)</a></li>
</ul>
<p><img class="alignnone size-full wp-image-1717" title="SL-RIA" src="http://michaelsync.net/wp-content/uploads/2010/07/SL-RIA.png" alt="" width="504" height="315" /></p>
<p><strong>Related ~ </strong></p>
<ul>
<li><a href="http://sgsug.org/2010/02/12/singapore-silverlight-user-group-1st-meetup/">Singapore Silverlight User Group – 1st Meetup</a></li>
<li><a href="http://sgsug.org/2010/04/23/singapore-silverlight-user-group-%e2%80%93-3rd-meetup-photo/">Singapore Silverlight User Group – 3rd Meetup Photo</a></li>
<li><a href="http://sgsug.org/2010/06/25/sg-silverlight-user-group-%e2%80%93-june-2010-meetup-photos/">SG Silverlight User Group – June 2010 Meetup Photos</a></li>
</ul>
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2010/07/18/silverlight-4-wcf-ria-services-presentation&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
<a href='http://michaelsync.net/2010/07/18/silverlight-4-wcf-ria-services-presentation' class='retweet vert' startCount = '0'>Silverlight 4 &#8211; WCF RIA Services Presentation</a>]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2010/07/18/silverlight-4-wcf-ria-services-presentation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Singapore Silverlight User Group – 3rd Meetup Photo</title>
		<link>http://michaelsync.net/2010/04/23/singapore-silverlight-user-group-%e2%80%93-3rd-meetup-photo</link>
		<comments>http://michaelsync.net/2010/04/23/singapore-silverlight-user-group-%e2%80%93-3rd-meetup-photo#comments</comments>
		<pubDate>Fri, 23 Apr 2010 14:46:40 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://michaelsync.net/?p=1680</guid>
		<description><![CDATA[We had 3rd Singapore Silverlight User Group meetup at hackspace yesterday. Chris from Microsoft gave amazing talk about Silverlight for Windows Phone 7. It was really fun.. Hope to see you guys next month. Related ~ Singapore Silverlight User Group – 3rd Meetup Singapore Silverlight User Group – 2nd Meetup Singapore Silverlight User Group – [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F23%2Fsingapore-silverlight-user-group-%25e2%2580%2593-3rd-meetup-photo"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F23%2Fsingapore-silverlight-user-group-%25e2%2580%2593-3rd-meetup-photo&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>We had 3rd Singapore Silverlight User Group meetup at hackspace yesterday. Chris from Microsoft gave amazing talk about Silverlight for Windows Phone 7. It was really fun.. Hope to see you guys next month.</p>
<p style="text-align: center;"><img class="size-full wp-image-1681  aligncenter" title="DSC02154 - Copy" src="http://michaelsync.net/wp-content/uploads/2010/04/DSC02154-Copy.jpg" alt="" width="522" height="392" /></p>
<p style="text-align: center;"><img class="size-full wp-image-1682  aligncenter" title="DSC02150 - Copy" src="http://michaelsync.net/wp-content/uploads/2010/04/DSC02150-Copy.jpg" alt="" width="522" height="392" /></p>
<p style="text-align: center;"><img class="size-full wp-image-1683  aligncenter" title="DSC02151 - Copy" src="http://michaelsync.net/wp-content/uploads/2010/04/DSC02151-Copy.jpg" alt="" width="522" height="392" /></p>
<p style="text-align: center;"><img class="size-full wp-image-1684  aligncenter" title="DSC02155 - Copy" src="http://michaelsync.net/wp-content/uploads/2010/04/DSC02155-Copy.jpg" alt="" width="522" height="392" /></p>
<p><strong>Related ~ </strong></p>
<ul>
<li><a href="http://sgsug.org/2010/04/12/singapore-silverlight-user-group-%e2%80%93-3rd-meetup/">Singapore Silverlight User Group – 3rd Meetup</a></li>
<li><a href="http://sgsug.org/2010/03/03/singapore-silverlight-user-group-%e2%80%93-2nd-meetup/">Singapore Silverlight User Group – 2nd Meetup</a></li>
<li><a href="http://sgsug.org/2010/02/12/singapore-silverlight-user-group-1st-meetup/">Singapore Silverlight User Group – 1st Meetup Photo</a></li>
</ul>
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2010/04/23/singapore-silverlight-user-group-%e2%80%93-3rd-meetup-photo&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
<a href='http://michaelsync.net/2010/04/23/singapore-silverlight-user-group-%e2%80%93-3rd-meetup-photo' class='retweet vert' startCount = '0'>Singapore Silverlight User Group – 3rd Meetup Photo</a>]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2010/04/23/singapore-silverlight-user-group-%e2%80%93-3rd-meetup-photo/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Try Mono.Cecil if you need System.Reflection.Emit in Windows Phone 7</title>
		<link>http://michaelsync.net/2010/04/20/try-mono-cecil-if-you-need-system-reflection-emit-in-windows-phone-7</link>
		<comments>http://michaelsync.net/2010/04/20/try-mono-cecil-if-you-need-system-reflection-emit-in-windows-phone-7#comments</comments>
		<pubDate>Tue, 20 Apr 2010 14:22:22 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://michaelsync.net/?p=1663</guid>
		<description><![CDATA[As .NET compact framework never support System.Reflection.Emit, we can&#8217;t use Reflection.Emit in Windows Phone 7 development. So, it prevents us from porting the existing frameworks like Unity, Castle Dynamic Proxy, Moq and etc to Windows Phone 7 development platform. I was looking all options that helps us to use Reflection.Emit in Phone 7. The first option that [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F20%2Ftry-mono-cecil-if-you-need-system-reflection-emit-in-windows-phone-7"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F20%2Ftry-mono-cecil-if-you-need-system-reflection-emit-in-windows-phone-7&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: center;"><img class="size-full wp-image-1677  aligncenter" title="Windowsphone_generic_preview" src="http://michaelsync.net/wp-content/uploads/2010/04/Windowsphone_generic_preview.jpg" alt="" width="241" height="178" /></p>
<p>As .NET compact framework never support System.Reflection.Emit, we can&#8217;t use Reflection.Emit in Windows Phone 7 development. So, it prevents us from porting the existing frameworks like Unity, Castle Dynamic Proxy, Moq and etc to Windows Phone 7 development platform. I was looking all options that helps us to use Reflection.Emit in Phone 7. The first option that I check is to port Mono code to Silverlight for Phone 7 version. The second option is to use <a href="http://www.mono-project.com/Cecil">Mono Cecil</a> that is using in Mono Core. And the third option is to use <a href="http://emitcf.codeplex.com/">EmitCF</a> but I don&#8217;t see any update after beta release so I guess this project is dead already. So, I decided to give a try on Mono Cecil.</p>
<p>Mono Cecil supports Silverlight, Compact Framework and .NET desktop version. So, it&#8217;s very easy to make Cecil work on Phone 7. All I have to do is to create a conditional called CF in csproj file and then it will work like a charm. I submitted a patch to Mono Cecil but Jb Evain said that he doesn&#8217;t want to provide csproj officially so I will make the files downloadable here.</p>
<p><strong>Download</strong> ~ <a href="http://michaelsync.net/demo/cecil.zip">cecil.zip (Please use Mono.Cecil &#8211; 2010.sln and Mono.Cecil-Phone.csproj )</a></p>
<p style="text-align: center;"><img class="size-full wp-image-1675  aligncenter" title="mp-mono-logo" src="http://michaelsync.net/wp-content/uploads/2010/04/mp-mono-logo.png" alt="" width="167" height="41" /></p>
<p><strong>What is Mono Cecil?</strong></p>
<p>Cecil is a library written by <a href="http://evain.net/blog/">Jb Evai</a>n to generate and inspect programs and libraries in the ECMA CIL format. It has full support for generics, and support some debugging symbol format.</p>
<p>In simple English, with Cecil, you can load existing managed assemblies, browse all the contained types, modify them on the fly and save back to the disk the modified assembly.</p>
<p>Today it is used by the Mono Debugger, the bug-finding and compliance checking tool <a href="http://www.mono-project.com/Gendarme">Gendarme</a>, MoMA, as well as <a href="http://www.mono-project.com/DB4O">DB4O</a>.
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2010/04/20/try-mono-cecil-if-you-need-system-reflection-emit-in-windows-phone-7&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
<a href='http://michaelsync.net/2010/04/20/try-mono-cecil-if-you-need-system-reflection-emit-in-windows-phone-7' class='retweet vert' startCount = '0'>Try Mono.Cecil if you need System.Reflection.Emit in Windows Phone 7</a>]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2010/04/20/try-mono-cecil-if-you-need-system-reflection-emit-in-windows-phone-7/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SG Silverlighters, we got 3rd meetup</title>
		<link>http://michaelsync.net/2010/04/12/sg-silverlighters-we-got-3rd-meetup</link>
		<comments>http://michaelsync.net/2010/04/12/sg-silverlighters-we-got-3rd-meetup#comments</comments>
		<pubDate>Mon, 12 Apr 2010 16:17:16 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://michaelsync.net/?p=1660</guid>
		<description><![CDATA[Hello Singapore Silverlight Developers, We are gonna have &#8220;Singapore Silverlight User Group&#8221; 3rd meetup on April 22. Chris Ismael from Microsoft Singapore will talk about Silverlight for Windows Phone 7. Game Development and Mobile Application Development are very popular in Singapore. So, I believe that Chris&#8217;s section will be very interesting for you guys. Please [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F12%2Fsg-silverlighters-we-got-3rd-meetup"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F12%2Fsg-silverlighters-we-got-3rd-meetup&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Hello Singapore Silverlight Developers,</p>
<p>We are gonna have &#8220;Singapore Silverlight User Group&#8221; 3rd meetup on April 22. Chris Ismael from Microsoft Singapore will talk about Silverlight for Windows Phone 7. Game Development and Mobile Application Development are very popular in Singapore. So, I believe that Chris&#8217;s section will be very interesting for you guys. Please come. See you there..</p>
<p><strong>Date</strong>: 22nd April, 2010<br />
<strong> Time</strong>: 7 PM – 10 PM<br />
<strong> Location</strong>: Hackerspace</p>
<p><strong>Agenda</strong> :</p>
<ul>
<li>Anatomy of a WP7 app (from a Developer/Designer’s perspective) by Chris Ismael</li>
<li>WP7 and the impact to SL Developers (Discussion)</li>
</ul>
<p><img title="windows-phone-application" src="http://michaelsync.net/wp-content/uploads/2010/04/windows-phone-application.jpg" alt="" width="250" height="486" /></p>
<p><em>Special thanks to Chris, Justin Lee, Dewi and Alex. </em>
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2010/04/12/sg-silverlighters-we-got-3rd-meetup&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
<a href='http://michaelsync.net/2010/04/12/sg-silverlighters-we-got-3rd-meetup' class='retweet vert' startCount = '0'>SG Silverlighters, we got 3rd meetup</a>]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2010/04/12/sg-silverlighters-we-got-3rd-meetup/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight MVP Award 2010</title>
		<link>http://michaelsync.net/2010/04/12/silverlight-mvp-award-2010</link>
		<comments>http://michaelsync.net/2010/04/12/silverlight-mvp-award-2010#comments</comments>
		<pubDate>Mon, 12 Apr 2010 15:47:16 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://michaelsync.net/?p=1653</guid>
		<description><![CDATA[Today, I have received MVP Award Kit from Microsoft today. I&#8217;m very happy about that. I like to say thank you so much to Microsoft, Lilian, Windy, Justin Angle, Justin Lee, Alex, Chris and everyone who are in Silverlight community. 1. MVP Award Kit &#8211; Fed Ex 2. MVP Award &#8211; Card 3. MVP Award [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F12%2Fsilverlight-mvp-award-2010"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F12%2Fsilverlight-mvp-award-2010&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Today, I have received MVP Award Kit from Microsoft today. I&#8217;m very happy about that. I like to say thank you so much to Microsoft, Lilian, Windy, Justin Angle, Justin Lee, Alex, Chris and everyone who are in Silverlight community.</p>
<p><strong>1. MVP Award Kit &#8211; Fed Ex</strong></p>
<p style="text-align: center;"><img class="size-full wp-image-1654  aligncenter" title="1. FedEx Box for MVP Award" src="http://michaelsync.net/wp-content/uploads/2010/04/1.-FedEx-Box-for-MVP-Award.jpg" alt="" width="522" height="392" /></p>
<p><strong>2. MVP Award &#8211; Card</strong></p>
<p style="text-align: center;"><img class="size-full wp-image-1655  aligncenter" title="2. MVP Award Card" src="http://michaelsync.net/wp-content/uploads/2010/04/2.-MVP-Award-Card.jpg" alt="" width="522" height="392" /></p>
<p><strong>3. MVP Award </strong></p>
<p style="text-align: center;"><img class="size-full wp-image-1656  aligncenter" title="3. Silverlight MVP Award 2010" src="http://michaelsync.net/wp-content/uploads/2010/04/3.-Silverlight-MVP-Award-2010.jpg" alt="" width="514" height="685" /></p>
<p><strong>4. Silverlight MVP Awards 2009 and 2010</strong></p>
<p style="text-align: center;"><img class="size-full wp-image-1657  aligncenter" title="5. Silverlight MVP Award 2009-2010" src="http://michaelsync.net/wp-content/uploads/2010/04/5.-Silverlight-MVP-Award-2009-2010.jpg" alt="" width="522" height="392" /></p>
<p>Related ~</p>
<ul>
<li><a href="http://michaelsync.net/2009/04/02/silverlight-mvp-most-valuable-professional-award">Silverlight MVP Award 2009</a></li>
</ul>
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2010/04/12/silverlight-mvp-award-2010&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
<a href='http://michaelsync.net/2010/04/12/silverlight-mvp-award-2010' class='retweet vert' startCount = '0'>Silverlight MVP Award 2010</a>]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2010/04/12/silverlight-mvp-award-2010/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tip: &#8220;Object reference not set to an instance of an object&#8221; Error in Silverlight for Windows Phone 7</title>
		<link>http://michaelsync.net/2010/04/09/tip-object-reference-not-set-to-an-instance-of-an-object-error-in-silverlight-for-windows-phone-7</link>
		<comments>http://michaelsync.net/2010/04/09/tip-object-reference-not-set-to-an-instance-of-an-object-error-in-silverlight-for-windows-phone-7#comments</comments>
		<pubDate>Sat, 10 Apr 2010 01:56:36 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://michaelsync.net/?p=1645</guid>
		<description><![CDATA[Problem :  &#8221;Object reference not set to an instance of an object.&#8221;  messagebox will be displayed when you are running Silverlight Windows Phone 7 Application in Visual Studio 2010. Solution : Shawn Oster, Program Manager of Silverlight for Window Phone team, confirmed that this is a known issue that they are currently working on fixing [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F09%2Ftip-object-reference-not-set-to-an-instance-of-an-object-error-in-silverlight-for-windows-phone-7"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F09%2Ftip-object-reference-not-set-to-an-instance-of-an-object-error-in-silverlight-for-windows-phone-7&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>Problem</strong> :  &#8221;<strong>Object reference not set to an instance of an object.</strong>&#8221;  messagebox will be displayed when you are running Silverlight Windows Phone 7 Application in Visual Studio 2010.</p>
<p style="text-align: center;"><img class="size-full wp-image-1646  aligncenter" title="Object Reference not set Error in Visual Studio 2010 Utimate and Express Vesrion" src="http://michaelsync.net/wp-content/uploads/2010/04/Object-Reference-not-set-Error-in-Visual-Studio-2010-Utimate-and-Express-Vesrion.png" alt="" width="391" height="345" /></p>
<p><strong>Solution</strong> : Shawn Oster, Program Manager of Silverlight for Window Phone team, confirmed that this is a known issue that they are currently working on fixing for next update. The workaround for this issue is that you need to ensure that the solution is not highlighted in Solution Explorer.</p>
<p>Let&#8217;s take a look at the picture below. Solution &#8220;WP7ApplicationBar&#8221; is highlighted in Solution Explorer, right? That&#8217;s why you are getting this error.</p>
<p style="text-align: center;"><img class="size-full wp-image-1647  aligncenter" title="Don't highlight the solution." src="http://michaelsync.net/wp-content/uploads/2010/04/Dont-highlight-the-solution..png" alt="" width="361" height="257" /></p>
<p>In order to fix this, you need to move the selection by clicking on Project Name or other files in Solution Explorer. As you can see, Solution &#8220;WP7ApplicationBar&#8221; is highlighted in previous screenshot. And we moved the highlight to ProjectName in second screenshot. Then, you can try to run the application from Visual Studio again. I think it will work this time.</p>
<p style="text-align: center;"><img class="size-full wp-image-1648  aligncenter" title="Put the highlight on project Name" src="http://michaelsync.net/wp-content/uploads/2010/04/Put-the-highlight-on-project-Name.png" alt="" width="306" height="253" /></p>
<p>Hope you find it useful. I&#8217;m facing this problem quite so often lately. This funny trick helped me to solve this problem. :) If this trick doesn&#8217;t help you then please feel free to let me know.
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2010/04/09/tip-object-reference-not-set-to-an-instance-of-an-object-error-in-silverlight-for-windows-phone-7&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
<a href='http://michaelsync.net/2010/04/09/tip-object-reference-not-set-to-an-instance-of-an-object-error-in-silverlight-for-windows-phone-7' class='retweet vert' startCount = '0'>Tip: &#8220;Object reference not set to an instance of an object&#8221; Error in Silverlight for Windows Phone 7</a>]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2010/04/09/tip-object-reference-not-set-to-an-instance-of-an-object-error-in-silverlight-for-windows-phone-7/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Test-Driven Development in Windows Phone7 &#8211; Part 1: Unit Testing with Silverlight for Phone7</title>
		<link>http://michaelsync.net/2010/04/08/test-driven-development-in-windows-phone7-part-1-unit-testing-with-silverlight-for-phone7</link>
		<comments>http://michaelsync.net/2010/04/08/test-driven-development-in-windows-phone7-part-1-unit-testing-with-silverlight-for-phone7#comments</comments>
		<pubDate>Fri, 09 Apr 2010 05:36:32 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://michaelsync.net/?p=1616</guid>
		<description><![CDATA[This is the first post of &#8220;Test-Driven Development in Windows Phone7&#8243; series. I will show you how to use Silverlight Unit Test Framework for Windows Phone 7 and how to run the unit tests in Phone emulator. As it&#8217;s an introductory post, I will not talk about TDD or stub or mock in this article. (But [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F08%2Ftest-driven-development-in-windows-phone7-part-1-unit-testing-with-silverlight-for-phone7"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F08%2Ftest-driven-development-in-windows-phone7-part-1-unit-testing-with-silverlight-for-phone7&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>This is the first post of &#8220;Test-Driven Development in Windows Phone7&#8243; series. I will show you how to use Silverlight Unit Test Framework for Windows Phone 7 and how to run the unit tests in Phone emulator. As it&#8217;s an introductory post, I will not talk about TDD or stub or mock in this article. (But I promise those things will come in next post. )</p>
<p><strong>Download ~</strong></p>
<ul>
<li><a href="http://michaelsync.net/demo/AddressBook.zip">AddressBook.zip (655KB)</a></li>
</ul>
<p><strong>Prerequisites</strong></p>
<ul>
<li><a href="http://www.microsoft.com/windows/windows-7/">Windows 7</a> or <a href="http://www.microsoft.com/windows/windows-vista/default.aspx">Windows Vista</a></li>
<li><a href="http://www.microsoft.com/visualstudio/en-us/">Visual Studio 2010</a></li>
<li><a href="http://www.silverlight.net/getstarted/devices/windows-phone/">Windows Phone Developer Tools CTP</a></li>
<li><a href="http://jeffatmix.com/">Unit Test Framework Preview</a></li>
</ul>
<h1>Creating Window Phone Application and Unit Test project</h1>
<p>First of all, we will create a &#8220;Windows Phone Application&#8221; (I will call it &#8220;AddressBook&#8221; ) in Visual Studio 2010. &#8220;Silverlight for Windows Phone&#8221; supports only C# language so you need to find &#8220;Windows Phone Application&#8221; project under &#8220;Visual C#&#8221; node. If you are an VB developer, I&#8217;ve to say sorry for you. C# and VB.NET used to be under same boat but I&#8217;m not sure what makes Windows Phone team to decide to left all VB.NET developer. Anyway, there are numbers of VB.NET to C# converter on the net so it&#8217;s not so difficult for you to find out the similar C# keywords.</p>
<p style="text-align: center;"><img class="size-full wp-image-1620  aligncenter" title="1. Create Silverlight Phone Application" src="http://michaelsync.net/wp-content/uploads/2010/04/1.-Create-Silverlight-Phone-Application.png" alt="" width="541" height="441" /></p>
<p>Next, we will create another &#8220;Windows Phone Application&#8221; for unit test under same solution. As the time of writing, there is no &#8220;Silverlight Unit Test&#8221; project template available to download. But I&#8217;m sure that <a href="http://www.jeff.wilcox.name">Jeff Wilcox</a> is working very hard to get that template for us. According to his new blog <a href="http://jeffatmix.com/">http://jeffatmix.com/</a>, we will probably get Silverlight Toolkit with Unit Test Framework on this April. You can&#8217;t use &#8220;Class Library&#8221; project template too.</p>
<p>Okay. Let&#8217;s create &#8220;Windows Phone Application&#8221; and I will call it &#8220;AddressBook.Tests&#8221;.</p>
<p style="text-align: center;"><img class="size-full wp-image-1621  aligncenter" title="2. Create Phone Applicatoin for Unit Test" src="http://michaelsync.net/wp-content/uploads/2010/04/2.-Create-Phone-Applicatoin-for-Unit-Test.png" alt="" width="522" height="444" /></p>
<p>Finally, we got two projects in our solution as below.  One is for our application and another one is for unit tests. So far so good, right?</p>
<p style="text-align: center;"><img class="size-full wp-image-1622  aligncenter" title="3. Visual Studio 2010 Phone Solution Explorer" src="http://michaelsync.net/wp-content/uploads/2010/04/3.-Visual-Studio-2010-Phone-Solution-Explorer.png" alt="" width="323" height="374" /></p>
<h1>Converting Windows Phone Application to Unit Test Project</h1>
<p>As this is not a unit test project template, we  will have to do a few manual steps to make AddressBook.Tests prject as a unit test project.</p>
<p>First, we will remove RootVisual Xaml tag from App.xaml.</p>
<p style="text-align: center;"><img class="aligncenter" title="7. Remove RootVisual from App.xaml File" src="http://michaelsync.net/wp-content/uploads/2010/04/7.-Remove-RootVisual-from-App.xaml-File.png" alt="" width="710" height="271" /></p>
<p>And then, we will delete MainPage.xaml file from unit test project. Silverlight Unit Test Framework already has a TestPage so we don&#8217;t need Mainpage.xaml anymore.</p>
<p style="text-align: center;"><img class="size-full wp-image-1626  aligncenter" title="4. Delete unnecessary files" src="http://michaelsync.net/wp-content/uploads/2010/04/4.-Delete-unnecessary-files.png" alt="" width="369" height="270" /></p>
<p>Now, we need to download the Test Framework from Jeff&#8217;s MIX website. <a href="http://jeffatmix.com/">http://jeffatmix.com/</a></p>
<p style="text-align: center;"><a href="http://jeffatmix.com/"><img class="size-full wp-image-1627 aligncenter" title="Jeff MIX website - Download Silverlight for Phone 7 Unit Test Framework" src="http://michaelsync.net/wp-content/uploads/2010/04/Jeff-MIX-website-Download-Silverlight-for-Phone-7-Unit-Test-Framework.png" alt="" width="442" height="338" /></a></p>
<p>Please create a folder (I will call it &#8220;LIB&#8221; ) in your project directory and extract the zip file and place two assemblies in that folder.</p>
<ul>
<li>Microsoft.Silverlight.Testing.dll</li>
<li>Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll</li>
</ul>
<p>After that, we will add those assemblies in our unit test project &#8220;AddressBook.Tests&#8221;.</p>
<p style="text-align: center;"><img class="size-full wp-image-1628  aligncenter" title="6. Add Test Framework as a Reference in Test Project" src="http://michaelsync.net/wp-content/uploads/2010/04/6.-Add-Test-Framework-as-a-Reference-in-Test-Project.png" alt="" width="404" height="284" /></p>
<p>We removed the RootVisual from App.xaml file earlier. Silverlight can&#8217;t run without having RootVisual set so we will have set Unit Test page to the Application RootVisual in App.xaml.cs.</p>
<p style="text-align: center;"><img class="size-full wp-image-1629  aligncenter" title="8. Add UnitTestSystem.CreateTestPage in App Constructor" src="http://michaelsync.net/wp-content/uploads/2010/04/8.-Add-UnitTestSystem.CreateTestPage-in-App-Constructor.png" alt="" width="469" height="158" /></p>
<h1><span style="font-weight: normal; font-size: 13px;">Then, we need to set our Unit Test Project as a startup project in Solution Explorer. </span></h1>
<p style="text-align: center;"><span style="font-weight: normal; font-size: 13px;"><img class="size-full wp-image-1633  aligncenter" title="Set Unit Test Project as a startup" src="http://michaelsync.net/wp-content/uploads/2010/04/Set-Unit-Test-Project-as-a-startup.png" alt="" width="311" height="478" /><br />
</span></p>
<h1>Creating Tests</h1>
<p>We have converted Silverlight Phone Application into Unit Test project and configured all required things in that project. So, it&#8217;s time to write a test. As we are very new to this Unit Test framework and we haven&#8217;t used any test framework on Phone 7 emulator, we will create a very simple test class (I will call it &#8220;SimpleTest&#8221;) just to see how it works on emulator.</p>
<p style="text-align: center;"><img class="size-full wp-image-1632  aligncenter" title="Simple Test" src="http://michaelsync.net/wp-content/uploads/2010/04/Simple-Test.png" alt="" width="430" height="393" /></p>
<p>We need to add an attribute called TestClass attribute in our test class &#8220;SimpleTest&#8221;. We will also create a test called &#8220;AlwaysPass&#8221; with TestMethod attribute in that class.</p>
<pre class="brush: csharp;">
[TestClass]
public class SampleTest {
[TestMethod]
public void AlwaysPass() {
Assert.IsTrue(true);
}
}
</pre>
<p>And then, let&#8217;s build the application and run it. If you are running Phone emulator for the first time, it will take a few mins to get loaded. The following is the first screen that you will see..  Don&#8217;t be alert that those are not the tests that you wrote. I think it might be a bug in Test framework. I need to ask Jeff about that and will update my post based on his reply.  Just be cool and wait for a few minutes more.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1634" title="Possiblely  a bug in Unit Test Framework" src="http://michaelsync.net/wp-content/uploads/2010/04/Possiblely-a-bug-in-Unit-Test-Framework.png" alt="" width="440" height="772" /></p>
<p>Then, you will see the Test that you wrote on Phone emulator. The list of Test classes under your project will be shown in first page. You can go into each class to see all test methods by clicking on the name of class.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1635" title="UnitTest with AlwayPass" src="http://michaelsync.net/wp-content/uploads/2010/04/UnitTest-with-AlwayPass.png" alt="" width="404" height="555" /></p>
<p>You will see &#8220;your code look good&#8221; in status since all tests are passed. You can also see the total number of tests, how many tests are passed and how many are failed in the right side of status bar.</p>
<p style="text-align: center;"><img class="size-full wp-image-1636  aligncenter" title="Your code looks good" src="http://michaelsync.net/wp-content/uploads/2010/04/Your-code-looks-good.png" alt="" width="398" height="202" /></p>
<p>Let&#8217;s add another test method called &#8220;AlwaysFail&#8221; in our SimpleTest class. So, our test class will be as below ~</p>
<pre class="brush: csharp;">
  [TestClass]
    public class SampleTest {
        [TestMethod]
        public void AlwaysPass() {
            Assert.IsTrue(true);
        }

        [TestMethod]
        public void AlwaysFail() {
            Assert.IsTrue(false);
        }
    }
</pre>
<p>Let&#8217;s run the project again and see how it looks like if we have a failed test.</p>
<p style="text-align: center;"><img class="size-full wp-image-1637  aligncenter" title="Test Failure" src="http://michaelsync.net/wp-content/uploads/2010/04/Test-Failure.png" alt="" width="396" height="772" /></p>
<p>The Test class that has some failed tests will be displayed in Red color. You will see how many tests are not passed in status bar as well.</p>
<p style="text-align: center;"><img class="size-full wp-image-1639  aligncenter" title="Test Failure Details" src="http://michaelsync.net/wp-content/uploads/2010/04/Test-Failure-Details.png" alt="" width="396" height="214" /></p>
<p>That&#8217;s all. It&#8217;s just an introduction of how to use Unit Test framework in Window Phone 7. We will implement Addressbook Application with TDD in next post. Feel free to let me know if you have any comment or suggestion.</p>
<p>Happy Silverlighting!!
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2010/04/08/test-driven-development-in-windows-phone7-part-1-unit-testing-with-silverlight-for-phone7&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
<a href='http://michaelsync.net/2010/04/08/test-driven-development-in-windows-phone7-part-1-unit-testing-with-silverlight-for-phone7' class='retweet vert' startCount = '0'>Test-Driven Development in Windows Phone7 &#8211; Part 1: Unit Testing with Silverlight for Phone7</a>]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2010/04/08/test-driven-development-in-windows-phone7-part-1-unit-testing-with-silverlight-for-phone7/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Step by Step Tutorial : Installing Multi-Touch Simulator for Silverlight Phone 7</title>
		<link>http://michaelsync.net/2010/04/06/step-by-step-tutorial-installing-multi-touch-simulator-for-silverlight-phone-7</link>
		<comments>http://michaelsync.net/2010/04/06/step-by-step-tutorial-installing-multi-touch-simulator-for-silverlight-phone-7#comments</comments>
		<pubDate>Tue, 06 Apr 2010 16:16:48 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://michaelsync.net/?p=1590</guid>
		<description><![CDATA[First of all, I would like to say thank you to Davide Zordan, Stefan Wick, Jonas Follesø and Laurent Bugnion for helping me to get this post out. It took me quite a few days since I was facing a lot of problems.  Now, it&#8217;s working in my machine and I like to share this [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F06%2Fstep-by-step-tutorial-installing-multi-touch-simulator-for-silverlight-phone-7"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F04%2F06%2Fstep-by-step-tutorial-installing-multi-touch-simulator-for-silverlight-phone-7&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>First of all, I would like to say thank you to <a href="http://www.davidezordan.net/blog/">Davide Zordan</a>, <a href="http://blogs.msdn.com/swick/">Stefan Wick</a>, <a href="http://jonas.follesoe.no/">Jonas Follesø</a> and <a href="http://www.galasoft.ch/">Laurent Bugnion</a> for helping me to get this post out. It took me quite a few days since I was facing a lot of problems.  Now, it&#8217;s working in my machine and I like to share this with you all.</p>
<p>This post is written for those who don&#8217;t have touch device but want to develop multi-touch Silverlight application for Windows Phone 7. If you prefer to watch the screen-cast created by the original developer of Multi-touch Vista, you can watch it <a href="http://www.youtube.com/watch?v=_maaH1gecxw">here</a>. But as there is no audio and the way that he presented is a bit fast for the most of viewers, I decided to write the step-by-step tutorial based on his screen-cast. I give the full credit to the original developer of Multi-touch Vista. He has done very good job.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1592" title="Phone 7" src="http://michaelsync.net/wp-content/uploads/2010/04/Phone-7.png" alt="" width="241" height="418" /></p>
<h1>1. Software</h1>
<p>You will need the software below before you start playing with Silverlight for Phone 7.</p>
<ul>
<li><a href="http://www.microsoft.com/windows/windows-7/">Windows 7</a></li>
<li><a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx">Visual Studio 2010 and .NET Framework 4 Release Candidate</a></li>
<li><a href="http://go.microsoft.com/fwlink/?LinkID=185584">Windows Phone Developer Tools CTP</a></li>
</ul>
<h1>2. Download Multi-Touch Vista</h1>
<p>Once you have installed the required software above, you need to download <a href="http://multitouchvista.codeplex.com/">Multi-touch Vista</a> from codeplex. We will be using Multi-touch Vista as a multi-touch simulator in this article. There are a lot of things that Multi-touch Vista can do but we will use it as a touch simulator only. The following is what the author of Multi-touch Vista wrote about his project. I&#8217;m just doing copy-paste the description here just in case you are interested to read. :)</p>
<blockquote><p>Multi-Touch Vista is a user input management layer that handles input from various devices (touchlib, multiple mice, TUIO etc.) and normalises it against the scale and rotation of the target window. Now with multitouch driver for Windows 7.</p></blockquote>
<p style="text-align: center;"><a href="http://multitouchvista.codeplex.com/"><img class="size-full wp-image-1591 aligncenter" title="MultitouchVistaLogo" src="http://michaelsync.net/wp-content/uploads/2010/04/MultitouchVistaLogo.png" alt="" width="100" height="100" /></a></p>
<h1>2. Installing the driver</h1>
<ul>
<li>Extract the zip file</li>
<li>Open the Command line with administrator right (Note: This is very important step. Otherwise, you will get this error &#8220;<strong>devcon failed.</strong>&#8221; )</li>
<li>Go to the folder that you have extracted the file</li>
<li>Go to Driver folder</li>
<li>Go to x64 or 32 based on your system configuration (In my case, I&#8217;m using 64 bits computer so I will go to x64 folder. )</li>
<li>Then, you will see one bat file called <strong>Install driver.cmd</strong></li>
<li>Type &#8220;Install driver.cmd&#8221; and press Enter key as shown in picture.</li>
</ul>
<p style="text-align: center;"><a href="http://michaelsync.net/wp-content/uploads/2010/04/4.-Install-Driver-big.png"><img class="size-full wp-image-1593 aligncenter" title="4. Install Driver" src="http://michaelsync.net/wp-content/uploads/2010/04/4.-Install-Driver.png" alt="" width="508" height="257" /></a></p>
<ul>
<li>You will get the dialog below asking whether you want to install this device software or not. Please click on &#8220;Install&#8221; button</li>
</ul>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1595" title="5. Windows Security Warning" src="http://michaelsync.net/wp-content/uploads/2010/04/5.-Windows-Security-Warning.png" alt="" width="515" height="238" /></p>
<ul>
<li>If the installation is completed, you will see the message as below in command line. Then, you can close that cmd now.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1596" title="6. Install Driver Completed" src="http://michaelsync.net/wp-content/uploads/2010/04/6.-Install-Driver-Completed.png" alt="" width="515" height="260" /></p>
<h1>3. Device Manager</h1>
<ul>
<li>Now, it&#8217;s time to open the device manager. You can open the device manager from control panel but I will do with short-cut way.</li>
<li>Type &#8220;device manager&#8221; without double quote in Window Search Bar and hit Enter Key</li>
</ul>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1597" title="7. Type device manager in Run" src="http://michaelsync.net/wp-content/uploads/2010/04/7.-Type-device-manager-in-Run.png" alt="" width="195" height="125" /></p>
<ul>
<li>Now you will see the Device Manager as below. Go to &#8220;Human Interface Devices&#8221;</li>
</ul>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1598" title="8. Device Manager" src="http://michaelsync.net/wp-content/uploads/2010/04/8.-Device-Manager.png" alt="" width="367" height="497" /></p>
<ul>
<li>Right-click on &#8220;Universal Software HID device&#8221;</li>
<li>And choose &#8220;Disable&#8221; to disable the device</li>
</ul>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1599" title="9. Disable Universal Software HID device" src="http://michaelsync.net/wp-content/uploads/2010/04/9.-Disable-Universal-Software-HID-device.png" alt="" width="447" height="276" /></p>
<ul>
<li>You will get the confirmation before disabling the device.</li>
<li>Just say &#8220;Yes&#8221;</li>
</ul>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1601" title="9.1. Confirming for Disabling Device" src="http://michaelsync.net/wp-content/uploads/2010/04/9.1.-Confirming-for-Disabling-Device.png" alt="" width="366" height="182" /></p>
<ul>
<li>After that, re-enable this device again.</li>
<li>Right-click again on this node and choose &#8220;Enable&#8221;</li>
</ul>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1600" title="9. Re-enable Universal Software HID device" src="http://michaelsync.net/wp-content/uploads/2010/04/9.-Re-enable-Universal-Software-HID-device.png" alt="" width="416" height="243" /></p>
<h2>4. Pen and Touch</h2>
<ul>
<li>Please type &#8220;pen and touch&#8221; without double quotes in Windows Search Bar. (Note: If you have managed to complete the step #3 property, you should be able to open &#8220;pen and touch&#8221; dialog. If you don&#8217;t get any dialog then please go thru the step #3 again. )</li>
</ul>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1602" title="10. Type pen and touch in Run" src="http://michaelsync.net/wp-content/uploads/2010/04/10.-Type-pen-and-touch-in-Run.png" alt="" width="194" height="108" /></p>
<ul>
<li>You will get the &#8220;Pen and Touch&#8221; dialog as below. Go to &#8220;Touch&#8221; tab and tick on &#8220;Show the touch pointer when I&#8217;m interacting with itmes on the screen.&#8221;</li>
</ul>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1603" title="12. Touch - Show the pointer" src="http://michaelsync.net/wp-content/uploads/2010/04/12.-Touch-Show-the-pointer.png" alt="" width="386" height="486" /></p>
<h1>5. Creating Silverlight Phone Application</h1>
<ul>
<li>You can refer<a href="http://msdn.microsoft.com/en-us/library/ff426933(VS.96).aspx"> this MSDN article &#8220;How to: Handle Manipulation Events&#8221;</a> to create &#8220;Windows Phone Application&#8221; in Visual Studio 2010.</li>
</ul>
<p style="text-align: center;"><img class="size-full wp-image-1606  aligncenter" title="Windows Phone in VS 2010" src="http://michaelsync.net/wp-content/uploads/2010/04/Windows-Phone-in-VS-2010.png" alt="" width="522" height="368" /></p>
<ul>
<li>OR you can download my sample that I created from <a href="http://michaelsync.net/demo/TestingTouch.rar">this link</a>.</li>
</ul>
<p>Once you have downloaded the sample, please open it in VS 2010 and build it. Please ensure that you are able to compile it successfully. After that, we need to run the Multi-touch Vista to simulate the touch input for our application.</p>
<h1>6. Running Multi-touch Simulator</h1>
<ul>
<li>Connect another mouse device in USB port.</li>
<li>Run Multitouch.Service.Console.exe</li>
</ul>
<p><strong><img class="aligncenter size-full wp-image-1608" title="13. Run Multitouch.Service.Console" src="http://michaelsync.net/wp-content/uploads/2010/04/13.-Run-Multitouch.Service.Console1.png" alt="" width="496" height="171" /></strong></p>
<ul>
<li><span style="font-weight: normal;">One console window will be opened as below. And you will see two touch pointers </span></li>
</ul>
<p style="text-align: center;"><img class="size-full wp-image-1609  aligncenter" title="13.1. Run Multitouch.Service.Console and two pointers" src="http://michaelsync.net/wp-content/uploads/2010/04/13.1.-Run-Multitouch.Service.Console-and-two-pointers.png" alt="" width="525" height="273" /></p>
<ul>
<li>Run Multitouch.Driver.Console.exe (You will get another console window. )</li>
<li>Run Multitouch.Configuration.WPF.exe</li>
<li>Click on &#8220;Configure&#8221; to block the cursor</li>
</ul>
<p style="text-align: center;"><img class="size-full wp-image-1610    aligncenter" title="16. Disable Native Windows Mouse" src="http://michaelsync.net/wp-content/uploads/2010/04/16.-Disable-Native-Windows-Mouse.png" alt="" width="621" height="322" /></p>
<p>The system cursor is no longer available after that. But as you already have two mouse devices, you can move those &#8220;red&#8221; touch pointers by using your mouse. Each &#8220;red&#8221; touch pointer represents each USB mouse that you connected to your computer.</p>
<p>Let&#8217;s open Microsoft Paint and draw two lines simultaneously by using two mice. Here is what I have done. (My wife gave me weird look when I&#8217;m using two mice in one computer. :) ) Please try yourself and have fun.</p>
<p style="text-align: center;"><img class="size-full wp-image-1612  aligncenter" title="MS Paint - Multi-touch" src="http://michaelsync.net/wp-content/uploads/2010/04/MS-Paint-Multi-touch.png" alt="" width="691" height="580" /></p>
<ul>
<li>Okay. Let&#8217;s go back to Visual Studio that we opened it earlier</li>
<li>Run it (it will take a while to load the emulator. You will see the screen below once it&#8217;s loaded. )</li>
</ul>
<p style="text-align: center;"><img class="size-full wp-image-1613  aligncenter" title="Window Phone Rectangle" src="http://michaelsync.net/wp-content/uploads/2010/04/Window-Phone-Rectangle.png" alt="" width="396" height="772" /></p>
<ul>
<li>Move one &#8220;red&#8221; touch pointers on blue rectangle</li>
<li>Press it and move it around. You should be able to move that rectangle with your mouse.</li>
<li>Move two &#8220;red&#8221; touch pointers on blue rectangle</li>
<li>Press both left buttons of both mice. Drag one up and another one down slowly.  (You will see that the rectangle will be a bit longer as below. )</li>
</ul>
<p style="text-align: center;"><img class="size-full wp-image-1614  aligncenter" title="Windows Phone with Wider Rectangle in VS 2010" src="http://michaelsync.net/wp-content/uploads/2010/04/Windows-Phone-with-Wider-Rectangle-in-VS-2010.png" alt="" width="480" height="672" /></p>
<p>Note that the scaling is not really smooth right now. I will have to work on that. But I&#8217;m glad that I&#8217;m able to test it with multi-touch simulator without buying real touch device. Anyway, if you can afford to get a real touch device, I would recommend you to get it.</p>
<p>Happy Silverlighting!! :)
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2010/04/06/step-by-step-tutorial-installing-multi-touch-simulator-for-silverlight-phone-7&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
<a href='http://michaelsync.net/2010/04/06/step-by-step-tutorial-installing-multi-touch-simulator-for-silverlight-phone-7' class='retweet vert' startCount = '0'>Step by Step Tutorial : Installing Multi-Touch Simulator for Silverlight Phone 7</a>]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2010/04/06/step-by-step-tutorial-installing-multi-touch-simulator-for-silverlight-phone-7/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Good News!! Seesmic Singapore is looking for Silverlight developers</title>
		<link>http://michaelsync.net/2010/03/30/good-news-seesmic-singapore-is-looking-for-silverlight-developers</link>
		<comments>http://michaelsync.net/2010/03/30/good-news-seesmic-singapore-is-looking-for-silverlight-developers#comments</comments>
		<pubDate>Wed, 31 Mar 2010 03:24:01 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://michaelsync.net/?p=1587</guid>
		<description><![CDATA[I usually don&#8217;t post about job in my blog but I blogged this post and my previous post for two reasons. The First reason is that it&#8217;s really hard to find the job for Silverlight developers in Singapore. I hope my posts will help local Silverlight developers who are having problems in finding job. The [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F03%2F30%2Fgood-news-seesmic-singapore-is-looking-for-silverlight-developers"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F03%2F30%2Fgood-news-seesmic-singapore-is-looking-for-silverlight-developers&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I usually don&#8217;t post about job in my blog but I blogged this post and my previous post for two reasons. The First reason is that it&#8217;s really hard to find the job for Silverlight developers in Singapore. I hope my posts will help local Silverlight developers who are having problems in finding job. The second reasons is that both job opening are very interesting. I know Frank, the director of Memolife, since last year and I met with him in person quite a few times. He is very nice and friendly person. The project that they are doing is very interesting and unique.  Another one is from Seesmic. If you are using Twitter, you probably know about Seesmic and their most popular Twitter client software. Now, they are looking for Silverlight developers in Singapore and you will probably be working with Silverlight 4 and Windows Phone 7. Cool, isn&#8217;t it? </p>
<p><strong>Job Description</strong></p>
<p>In MIX 2010, Seesmic unveiles 2 products that is built on Silverlight technology , Seesmic Desktop Platform and Seesmic for Windows Phone.</p>
<p>We are thus looking for a talented Silverlight Developer to join the team and help us continue to innovate our products and make them better for our users.</p>
<p>Candidate will be working closely with the Design team and Silverlight team closely, to review and develop the feature of our in-house Silverlight applications.</p>
<p>Good Knowledge/Experience in Social Networking Applications / APIs / Mashups (Twitter, Facebook, etc) will be a huge plus. Any relevant desktop / mobile development experience will also be taken into account.</p>
<p>Interested candidate please email your resume to shinchi@seesmic.com
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2010/03/30/good-news-seesmic-singapore-is-looking-for-silverlight-developers&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
<a href='http://michaelsync.net/2010/03/30/good-news-seesmic-singapore-is-looking-for-silverlight-developers' class='retweet vert' startCount = '0'>Good News!! Seesmic Singapore is looking for Silverlight developers</a>]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2010/03/30/good-news-seesmic-singapore-is-looking-for-silverlight-developers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight + Memolife = true</title>
		<link>http://michaelsync.net/2010/03/25/silverlight-memolife-true</link>
		<comments>http://michaelsync.net/2010/03/25/silverlight-memolife-true#comments</comments>
		<pubDate>Thu, 25 Mar 2010 14:09:29 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://michaelsync.net/?p=1582</guid>
		<description><![CDATA[Here is job opening for Silverlight developers who are currently staying in Singapore. It&#8217;s good to see more companies are hiring Silverlight developers in Singapore. Memolife Pte Ltd is looking for passionate, talented and experienced .Net developers, who are eager to take their skills to the next level using Silverlight. You’ll be developing awesome game [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F03%2F25%2Fsilverlight-memolife-true"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmichaelsync.net%2F2010%2F03%2F25%2Fsilverlight-memolife-true&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Here is job opening for Silverlight developers who are currently staying in Singapore. It&#8217;s good to see more companies are hiring Silverlight developers in Singapore.</p>
<p><img class="aligncenter size-full wp-image-1583" title="memolife" src="http://michaelsync.net/wp-content/uploads/2010/03/memolife.jpg" alt="" width="187" height="151" /></p>
<p><strong>Memolife Pte Ltd</strong> is looking for passionate, talented and experienced .Net developers, who are eager to take their skills to the next level using Silverlight.</p>
<p>You’ll be developing awesome game applications for brain training and accelerated learning. Worried you don’t have any Silverlight experience? Well, don’t … as long as you are an outstanding “out-of-the box” thinking developer, we will provide you with the necessary training.</p>
<p>Only applications with a cover letter explaining why you are the right person for the job will be considered.</p>
<p>Please check out <a href="http://siva-sg.jobstreet.com/_ads/sg/jobs/2010/3/default/20/2236106.htm?fr=J">this link for more information</a>.
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2010/03/25/silverlight-memolife-true&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
<a href='http://michaelsync.net/2010/03/25/silverlight-memolife-true' class='retweet vert' startCount = '0'>Silverlight + Memolife = true</a>]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2010/03/25/silverlight-memolife-true/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
