<?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>Tamir Khason - Just code &#187; XNA</title>
	<atom:link href="http://khason.net/tag/xna/feed/" rel="self" type="application/rss+xml" />
	<link>http://khason.net</link>
	<description>Take care of the sense, and the sounds will take care of themselves.</description>
	<lastBuildDate>Thu, 15 Apr 2010 13:25:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Bootstrapper for .NET framework version detector</title>
		<link>http://khason.net/tech/bootstrapper-for-net-framework-version-detector/</link>
		<comments>http://khason.net/tech/bootstrapper-for-net-framework-version-detector/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 17:22:26 +0000</pubDate>
		<dc:creator>Tamir</dc:creator>
				<category><![CDATA[TECH]]></category>
		<category><![CDATA[.NET 3.5]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[DEV]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[Interop]]></category>
		<category><![CDATA[My tools]]></category>
		<category><![CDATA[promo]]></category>
		<category><![CDATA[soft]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[VSTS]]></category>
		<category><![CDATA[Work process]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://khason.net/tech/bootstrapper-for-net-framework-version-detector/</guid>
		<description><![CDATA[You wrote your .NET program, that can be used as stand alone portable application (such as it should be for Smart Client Apps), however you have to be sure, that necessary prerequisites (such as .NET framework) are installed on client’s machine. What to do? How to detect .NET framework version installed on target machine before [...]

<p/>]]></description>
			<content:encoded><![CDATA[<p>You wrote your .NET program, that can be used as stand alone portable application (such as it should be for Smart Client Apps), however you have to be sure, that necessary prerequisites (such as .NET framework) are installed on client’s machine. What to do? How to detect .NET framework version installed on target machine before running .NET application. The answer is – to use unmanaged C++ bootstrapper, that invoke your application if correct version of framework is installed.</p>
<p><a title=".NET Framework Detector" href="http://khason.net/images/2009/02/whoooot.exe" target="_blank" rel="enclosure"><img title=".NET framework vrsion detector" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="212" alt=".NET framework vrsion detector" src="http://khason.net/images/2009/02/image.png" width="310" border="0" /></a> </p>
<p>Until now there are 15 possible .NET frameworks can be installed on client’s machine. Here the table of possible and official supported versions, <a href="http://support.microsoft.com/kb/318785" target="_blank">as appears in Q318785</a></p>
<table cellspacing="0" cellpadding="2" width="400" border="1">
<tbody>
<tr>
<td valign="top" width="200">.NET version</td>
<td valign="top" width="200">Actual version</td>
</tr>
<tr>
<td valign="top" width="200">3.5 SP1</td>
<td valign="top" width="200">3.5.30729.1</td>
</tr>
<tr>
<td valign="top" width="200">3.5</td>
<td valign="top" width="200">3.5.21022.8</td>
</tr>
<tr>
<td valign="top" width="200">3.0 SP2</td>
<td valign="top" width="200">3.0.4506.2152</td>
</tr>
<tr>
<td valign="top" width="200">3.0 SP1</td>
<td valign="top" width="200">3.0.4506.648</td>
</tr>
<tr>
<td valign="top" width="200">3.0</td>
<td valign="top" width="200">3.0.4506.30</td>
</tr>
<tr>
<td valign="top" width="200">2.0 SP2</td>
<td valign="top" width="200">2.0.50727.3053</td>
</tr>
<tr>
<td valign="top" width="200">2.0 SP1</td>
<td valign="top" width="200">2.0.50727.1433</td>
</tr>
<tr>
<td valign="top" width="200">2.0</td>
<td valign="top" width="200">2.0.50727.42</td>
</tr>
<tr>
<td valign="top" width="200">1.1 SP1</td>
<td valign="top" width="200">1.1.4322.2032</td>
</tr>
<tr>
<td valign="top" width="200">1.1 SP1 (in 32 bit version of Windows 2003)</td>
<td valign="top" width="200">1.1.4322.2300</td>
</tr>
<tr>
<td valign="top" width="200">1.1</td>
<td valign="top" width="200">1.1.4322.573</td>
</tr>
<tr>
<td valign="top" width="200">1.0 SP3</td>
<td valign="top" width="200">1.0.3705.6018</td>
</tr>
<tr>
<td valign="top" width="200">1.0 SP2</td>
<td valign="top" width="200">1.0.3705.288</td>
</tr>
<tr>
<td valign="top" width="200">1.0 SP1</td>
<td valign="top" width="200">1.0.3705.209</td>
</tr>
<tr>
<td valign="top" width="200">1.0</td>
<td valign="top" width="200">1.0.3705.0</td>
</tr>
</tbody>
</table>
<p>All of those versions are detectible by queering specific registry keys. However, in some cases, you need to load mscoree.dll and call “GETCOREVERSION” API to determine whether specific version of .NET is installed. You can read more about it <a href="http://msdn2.microsoft.com/library/ydh6b3yb.aspx" target="_blank">in MSDN</a>.</p>
<p>So it’s really simple to write small C++ application (or PowerShell applet), that queries registry and invoke your managed application. How to do this? You can either read about it in outstanding blog of <a href="http://blogs.msdn.com/astebner/archive/2009/01/31/9387659.aspx" target="_blank">Aaron Stebner</a>, who is Project Manager in XNA platform deployment team or <a href="http://khason.net/blog/action-required-smart-client-development-present-and-future/" target="_blank">attend my session next week</a> to learn do it yourself. We’ll speak about nifty ways to do it also. </p>
<p>Anyway, by now, you can use small stand alone program, I wrote a while ago, that will tell you all versions of .NET frameworks installed in target machine without any prerequisites. It can be run even from shared network location <img src='http://khason.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://khason.net/images/2009/02/whoooot.exe" target="_blank"><strong>Download whoooot.exe (13K) &gt;&gt;</strong></a></p>
<p>See you next week. </p>
<p>PS: Do not forget to <a href="http://www.codeplex.com/SnippetEditor/" target="_blank">download and install the new version</a> of <a href="http://khason.net/blog/visual-studio-snippet-designer/" target="_blank">Visual Studio Snippet Designer</a>, which is extremely useful tool by MVP <a href="http://msmvps.com/blogs/bill/" target="_blank">Bill McCarthy</a>, you’ll need it later next week…</p>
<p>Have a nice day and be good people.</p>


<p/>]]></content:encoded>
			<wfw:commentRss>http://khason.net/tech/bootstrapper-for-net-framework-version-detector/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Presenting at TechEd Developers South Africa 2008, Durban</title>
		<link>http://khason.net/blog/presenting-at-teched-developers-south-africa-2008-durban/</link>
		<comments>http://khason.net/blog/presenting-at-teched-developers-south-africa-2008-durban/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 13:23:27 +0000</pubDate>
		<dc:creator>Tamir</dc:creator>
				<category><![CDATA[BLOG]]></category>
		<category><![CDATA[blogging general]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[promo]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[teched]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://khason.net/blog/presenting-at-teched-developers-south-africa-2008-durban/</guid>
		<description><![CDATA[Save the date. TechEd Developers South Africa is around the corner (August 3rd through 6th). This year it will take place in Durban, the third most populous city in South Africa. This TechEd, there are four sessions assigned to me: Creating Rich Applications with Windows Presentation Foundation (300) Completely new session about how to enrich [...]

<p/>]]></description>
			<content:encoded><![CDATA[</p>
<p>Save the date. <a href="http://www.tech-ed.co.za/">TechEd Developers South Africa</a> is around the corner (August 3rd through 6th). This year it will take place in <a href="http://en.wikipedia.org/wiki/Durban">Durban</a>, the third most populous city in South Africa. </p>
<p><img title="image" border="0" alt="image" src="http://khason.net/images/2008/12/image-76034ac0-b10f-46ed-be99-1ce6b149a6f3.png" width="169" height="106" /> </p>
<p>This TechEd, there are four sessions assigned to me:</p>
<h3>Creating Rich Applications with Windows Presentation Foundation (300)</h3>
<p>Completely new session about how to enrich user experience, by decreasing development efforts with <a href="http://blogs.microsoft.co.il/blogs/tamir/archive/tags/WPF/default.aspx">WPF</a>. In order to do this, we’ll try to take some application and completely recreate it, by using XAML only without any single code line.</p>
<p><em>Target audience</em>: Developers and decide makers, who what to understand what can be done with WPF and how easy you can do it. </p>
<h3>Understanding Reflection (400)</h3>
<p>This is also new session for lazy developers. It’s not only about what reflection is or what’s new about reflection in latest frameworks (including <a href="http://blogs.microsoft.co.il/blogs/tamir/archive/tags/.NET+3.5/default.aspx">.NET 3.5</a> and <a href="http://blogs.microsoft.co.il/blogs/tamir/archive/tags/Silverlight/default.aspx">Silverlight</a>), but also how to use it to make developer’s life easier. We’ll enter a bit into IL to understand what’s going on under the hoods, but most of session is about appliance of this technology for everyday developers’ tasks and challenges.</p>
<p><em>Target audience</em>: Developers, have an experience with .NET programming</p>
<h3>WPF Performance (400)</h3>
<p>Session very similar to <a href="http://khason.net/blog/wpf-for-developers-from-dev-academy-2-recordings/">one, I had in Dev Academy 2</a>. However this time it will focus on performance enhancements in .NET framework 3.5 SP1. I’ll speak about virtualization, parallel processing, DX surface direct access and more… </p>
<p><em>Target audience</em>: Developers, have an experience with WPF development.</p>
<h3>Game Development Using Microsoft’s Latest Technologies (300)</h3>
<p><a href="http://khason.net/blog/my-teched-%e2%80%9808-presentation-slides-download/">Fun session, I had in TechEd Israel</a> with <a href="http://khason.net/blog/teched-behind-the-scene-%e2%80%93-system-setup/">very complicated setup</a>. <a href="http://khason.net/blog/teched-is-over-the-corner-and-we-are-ready-what-about-you/">Here the sneak preview</a> of how it looks like. It listed as a 300 level, because the fact, that except this session’s fun, you can learn a lot of new there.</p>
<p><em>Target audience</em>: Everyone, who love technology and want to have fun hour in the morning before advanced sessions will begin. </p>
<p><strong>If you’re reading my blog, and you’re going <a href="http://www.tech-ed.co.za/">TechEd Africa</a>. Come and say me hello, ‘cos it would be really nice to see the faces of the people I’m writing to in this blog <img src='http://khason.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p>More information about other sessions in this TechEd <a href="http://dotnet.org.za/ahmeds/archive/2008/05/16/what-is-happening-with-teched-africa.aspx">can be found in Ahmed Salijee blog</a>, who is developer evangelist in Microsoft Africa and arranges this event.</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
<p>See you there.</p>


<p/>]]></content:encoded>
			<wfw:commentRss>http://khason.net/blog/presenting-at-teched-developers-south-africa-2008-durban/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>XNA Game Studio 3.0 CTP is now available!</title>
		<link>http://khason.net/blog/xna-game-studio-30-ctp-is-now-available/</link>
		<comments>http://khason.net/blog/xna-game-studio-30-ctp-is-now-available/#comments</comments>
		<pubDate>Wed, 07 May 2008 18:00:00 +0000</pubDate>
		<dc:creator>Tamir</dc:creator>
				<category><![CDATA[BLOG]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[promo]]></category>
		<category><![CDATA[soft]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://khason.net/blog/xna-game-studio-30-ctp-is-now-available/</guid>
		<description><![CDATA[Do you want to build XNA games for Zune? Do you want to do in from Visual Studio 2008, rather, then from Visual Studio 2005? Download new technology preview of XNA Game Studio. Currently you cannot build games for XBox with XNA GS 3.0 – only for Zune and PC? What does it mean? Actually [...]


Related posts:<ol><li><a href='http://khason.net/itpro/tfs-licensing-model-demystification-or-what-should-i-buy-for-my-company-in-order-not-to-step-on-the-licensing-mine/' rel='bookmark' title='Permanent Link: TFS licensing model demystification or what should I buy for my company in order not to step on the licensing mine?'>TFS licensing model demystification or what should I buy for my company in order not to step on the licensing mine?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Do you want to build XNA games for Zune? Do you want to do in from Visual Studio 2008, rather, then from Visual Studio 2005? Download new technology preview of XNA Game Studio. Currently you cannot build games for XBox with XNA GS 3.0 – only for Zune and PC? What does it mean? Actually nothing, but worth a try. Also, <a href="http://blogs.microsoft.co.il/blogs/tamir/archive/tags/XNA/default.aspx" mce_href="http://blogs.microsoft.co.il/blogs/tamir/archive/tags/XNA/default.aspx" target="_blank">you can see in my blog</a> what you can do with it.</p>
<p>Where to get it? From <a href="http://creators.xna.com/" mce_href="http://creators.xna.com/" target="_blank">XNA Creators Club online</a>. For more information, visit <a href="http://blogs.msdn.com/xna" mce_href="http://blogs.msdn.com/xna" target="_blank">XNA team blog</a>.</p>


<p>Related posts:<ol><li><a href='http://khason.net/itpro/tfs-licensing-model-demystification-or-what-should-i-buy-for-my-company-in-order-not-to-step-on-the-licensing-mine/' rel='bookmark' title='Permanent Link: TFS licensing model demystification or what should I buy for my company in order not to step on the licensing mine?'>TFS licensing model demystification or what should I buy for my company in order not to step on the licensing mine?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://khason.net/blog/xna-game-studio-30-ctp-is-now-available/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>My TechEd ‘08 presentation slides download</title>
		<link>http://khason.net/blog/my-teched-%e2%80%9808-presentation-slides-download/</link>
		<comments>http://khason.net/blog/my-teched-%e2%80%9808-presentation-slides-download/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 19:10:45 +0000</pubDate>
		<dc:creator>Tamir</dc:creator>
				<category><![CDATA[BLOG]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[promo]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[teched]]></category>
		<category><![CDATA[TechedIsrael2008]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://khason.net/blog/my-teched-%e2%80%9808-presentation-slides-download/</guid>
		<description><![CDATA[I do not know why, but for some reason in development section of TechEd website there are only two recording and no presentations. I do not want to wait for them to upload (we sent all presentations a while ago), so here it comes. My TechEd presentation DEV335 &#8211; Game Development Using Microsoft&#8217;s Latest Technologies. [...]

<p/>]]></description>
			<content:encoded><![CDATA[<p>I do not know why, but for some reason in <a href="http://www.microsoft.com/israel/techedevent/list.aspx#e" target="_blank">development section of TechEd website</a> there are only two recording and no presentations. I do not want to wait for them to upload (we sent all presentations a while ago), so here it comes. <a href="http://khason.net/blog/teched-is-over-the-corner-and-we-are-ready-what-about-you/" target="_blank">My TechEd presentation</a> <a href="http://cid-4e39ecd492e4eec1.skydrive.live.com/self.aspx/TechEd/DEV335.ppt" target="_blank">DEV335 &#8211; Game Development Using Microsoft&#8217;s Latest Technologies</a>. I have no recordings by now (so pity), so you&#8217;ll have to wait for Microsoft to encode and upload it. Upon it will be done, I&#8217;ll publish it here.    <br />There is no real reason to upload samples &#8211; they will not work without <a href="http://khason.net/blog/teched-behind-the-scene-%e2%80%93-system-setup/" target="_blank">all environment we had there</a>.</p>
<p><a href="http://cid-4e39ecd492e4eec1.skydrive.live.com/self.aspx/TechEd/DEV335.ppt" target="_blank">Download full slides from my TechEd presentation (PPT 7,165 KB) &gt;&gt;</a></p>
<p>If you have any questions, feel free to contact me by using <a href="http://blogs.microsoft.co.il/blogs/tamir/contact.aspx" target="_blank">contact form</a> or <a href="http://www.linkedin.com/in/tamirk" target="_blank">LinkedIn profile</a>. You also can <a href="http://twitter.com/tamir" target="_blank">send me a message by twitter</a></p>
<p><img border="0" alt="te08" src="http://khason.net/images/2008/12/te08-994f0207-06b9-43ae-a53e-8629ba9d38db.jpg" width="473" height="252" /></p>


<p/>]]></content:encoded>
			<wfw:commentRss>http://khason.net/blog/my-teched-%e2%80%9808-presentation-slides-download/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>TechEd is over the corner and we are ready! What about you?</title>
		<link>http://khason.net/blog/teched-is-over-the-corner-and-we-are-ready-what-about-you/</link>
		<comments>http://khason.net/blog/teched-is-over-the-corner-and-we-are-ready-what-about-you/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 19:36:00 +0000</pubDate>
		<dc:creator>Tamir</dc:creator>
				<category><![CDATA[BLOG]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[promo]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[teched]]></category>
		<category><![CDATA[TechedIsrael2008]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://khason.net/blog/teched-is-over-the-corner-and-we-are-ready-what-about-you/</guid>
		<description><![CDATA[After a lot of work I’m ready for TechEd. It worth me a lot of blood, sweat and tears until it started to work as I expected. What our session about? In one sentence – Game Development. In number of sentences – we’ll build online car racing multiplayer game, that will run on XBOX, Windows, [...]

<p/>]]></description>
			<content:encoded><![CDATA[<p>After a lot of work I’m ready for <a href="http://www.microsoft.com/israel/teched2008/" mce_href="http://www.microsoft.com/israel/teched2008/" target="_blank">TechEd</a>. It worth me a lot of blood, sweat and tears until it started to work as I expected. What our session about? In one sentence – Game Development. In number of sentences – we’ll build online car racing multiplayer game, that will run on XBOX, Windows, Linux, Mac and mobile phone. All this will be tied up with Windows Live services. During the session, <a href="http://blogs.microsoft.co.il/blogs/tamir/archive/tags/XNA/default.aspx" mce_href="http://blogs.microsoft.co.il/blogs/tamir/archive/tags/XNA/default.aspx" target="_blank">XBOX</a> will play with <a href="http://blogs.microsoft.co.il/blogs/tamir/archive/tags/WPF/default.aspx" mce_href="http://blogs.microsoft.co.il/blogs/tamir/archive/tags/WPF/default.aspx" target="_blank">WPF</a> and Novel Suse Linux will <a href="http://blogs.microsoft.co.il/blogs/tamir/archive/tags/Silverlight/default.aspx" mce_href="http://blogs.microsoft.co.il/blogs/tamir/archive/tags/Silverlight/default.aspx" target="_blank">run ASP.NET</a> and play with IIS7. Don’t believe me? Come and see. Here small video, that demonstrates some of this session results. There are much more to see…</p>
<div style="margin: 0px; padding: 0px; float: none; display: inline;" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:cb0b7188-3088-4f72-b7bb-32131824b12b" class="wlWriterSmartContent">
<div><a href="http://video.msn.com/video.aspx?vid=b113f6a8-20dd-43a0-a0ac-860fabee091f&amp;from=writer" mce_href="http://video.msn.com/video.aspx?vid=b113f6a8-20dd-43a0-a0ac-860fabee091f&amp;from=writer" target="_new"><img src="http://khason.net/images/2008/12/videoba6a196a931c.jpg" mce_src="http://khason.net/images/2008/12/videoba6a196a931c.jpg" galleryimg="no" alt=""/></a></div>
</div>
<p>See you there <a href="http://0x15.net/files/DEV335%20-%20Game%20Development%20Using%20Microsofts%20Latest%20Technologies%20%28Tamir%20Khason%20A.ics" mce_href="http://0x15.net/files/DEV335 - Game Development Using Microsofts Latest Technologies (Tamir Khason A.ics"><b>8th of april, 10:45 in Knaan hall of Hilton hotel</b></a> in Eilat.</p>


<p/>]]></content:encoded>
			<wfw:commentRss>http://khason.net/blog/teched-is-over-the-corner-and-we-are-ready-what-about-you/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Running WPF on gas pump (or other Windows CE devices)?</title>
		<link>http://khason.net/blog/running-wpf-on-gas-pump-or-other-windows-ce-devices/</link>
		<comments>http://khason.net/blog/running-wpf-on-gas-pump-or-other-windows-ce-devices/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 16:06:07 +0000</pubDate>
		<dc:creator>Tamir</dc:creator>
				<category><![CDATA[BLOG]]></category>
		<category><![CDATA[blogging general]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Micro Framework]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[promo]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[teched]]></category>
		<category><![CDATA[TechedIsrael2008]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://khason.net/blog/running-wpf-on-gas-pump-or-other-windows-ce-devices/</guid>
		<description><![CDATA[What do you think, is it possible to run WPF on Windows CE enabled devices (e.g. gas pumps, GPS systems, robots, game or automatic teller machines or, even, scientific calculators)? Let&#8217;s see following code: StackPanel panel = new StackPanel(Orientation.Horizontal); &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Ellipse ellipse = new Ellipse(10, 10); &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ellipse.Fill = new SolidColorBrush(Colors.Red); &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ellipse.Stroke = new [...]


Related posts:<ol><li><a href='http://khason.net/dev/read-singleton-approach-in-wpf-application/' rel='bookmark' title='Permanent Link: Real singleton approach in WPF application'>Real singleton approach in WPF application</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>What do you think, is it possible to run WPF on Windows CE enabled devices (e.g. gas pumps, GPS systems, robots, game or automatic teller machines or, even, scientific calculators)? Let&#8217;s see following code:</p>
<blockquote><p>StackPanel panel = new StackPanel(Orientation.Horizontal);     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Ellipse ellipse = new Ellipse(10, 10);      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ellipse.Fill = new SolidColorBrush(Colors.Red);      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ellipse.Stroke = new Pen(Color.Black);      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Rectangle rect = new Rectangle();      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rect.Width = 40;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rect.Height = 40;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Line l = new Line(20, 20);      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Polygon polygon = new Polygon(new int[] { 0, 0, 20, 0, 20, 20, 0, 20 });      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; panel.Children.Add(ellipse);      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; panel.Children.Add(rect);      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; panel.Children.Add(l);      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; panel.Children.Add(polygon); </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; panel.AddHandler(Buttons.ButtonUpEvent, (ButtonEventHandler)delegate     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; panel.Orientation = panel.Orientation == Orientation.Horizontal ? Orientation.Vertical : Orientation.Horizontal;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, false);</p>
</blockquote>
<p>Or even this code</p>
<blockquote><p>void OnButtonHeld(object o)     <br />{      <br />&#160;&#160;&#160; Button b = (Button)o;      <br />&#160;&#160;&#160; Dispatcher.Invoke(TimeSpan.FromTicks(10), (ButtonHeldDelegate)delegate(Button btn)      <br />&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; while (Buttons.IsButtonDown(btn))      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; switch (btn)      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; case Button.Left: p.X&#8211;; break;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; case Button.Up: p.Y&#8211;; break;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; case Button.Right: p.X++; break;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; case Button.Down: p.Y++; break;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; case Button.Select: p.X = mainWindow.Width / 2; p.Y = mainWindow.Height / 2; break;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; } </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; moveMouse();     <br />&#160;&#160;&#160; }, b);      <br />} </p>
<p>void moveMouse()     <br />{      <br />&#160;&#160;&#160; host.DrawRectangle(Colors.Black,2,p.X,p.Y, 100, 100,0,0,Colors.Red,0,0,Colors.Blue,100,100,255);      <br />&#160;&#160;&#160; host.Flush();      <br />}</p>
</blockquote>
<p>This code will run on any Windows CE device. And it is not WPF <img src='http://khason.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  It&#8217;s <a href="http://msdn2.microsoft.com/en-us/embedded/bb267253.aspx" target="_blank">.NET Micro Framework</a>. Actually, when we&#8217;re looking for it&#8217;s syntax, it looks like WPF/Silverlight and .NET Micro Framework have the same architect. However, it cannot use hardware acceleration and has very limited number of objects. All this because of it&#8217;s purpose &quot;platform to devices that do not need the fuller functionality available in the .NET Framework and the .NET Compact Framework&quot;. I would add Windows Presentation Foundation as well.</p>
<p>The application model of .NET Micro Framework is very similar to WPF. It has native CLR/PAL and HAL and managed libraries. </p>
<p><img height="324" alt="image" src="http://khason.net/images/2008/12/image-8d1277cc-3f51-4b8d-8b2b-e91d3bea8037.png" width="503" border="0" /> </p>
<p>Sufficient number of components in CLR &#8211; types, threads and timers, reflection, serialization, GC, networking, other connectivities etc., enables you to create, even games, that will run on even <a href="http://blogs.microsoft.co.il/blogs/zivraf/archive/2008/03/13/a-heart-device-is-found-vulnerable-to-hacker-attacks.aspx" target="_blank">Heart Device</a>.</p>
<p>Other words, cool technology and possible cool appliance for your programming skills.&#160; </p>
<p>How to start? First of all, <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=EB0EF2A6-03E2-402C-89A4-A636BD0080C5&amp;displaylang=en" target="_blank">download .NET Micro Framework v2.5</a> (VS2005, you can also add Microsoft.SPOT assemblies into your regular VS2008 project) and start programming. It&#8217;s really simple (I build snake game for less, then hour)</p>
<p>See your applications, running on embedded devices. BTW, I&#8217;ll probably present something, developed with this framework in my TechEd session aside with WPF, Silverlight and XNA&#8230; Keep tuned and have a nice day</p>


<p>Related posts:<ol><li><a href='http://khason.net/dev/read-singleton-approach-in-wpf-application/' rel='bookmark' title='Permanent Link: Real singleton approach in WPF application'>Real singleton approach in WPF application</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://khason.net/blog/running-wpf-on-gas-pump-or-other-windows-ce-devices/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Some new post-mix downloads</title>
		<link>http://khason.net/blog/some-new-post-mix-downloads/</link>
		<comments>http://khason.net/blog/some-new-post-mix-downloads/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 10:01:44 +0000</pubDate>
		<dc:creator>Tamir</dc:creator>
				<category><![CDATA[BLOG]]></category>
		<category><![CDATA[.NET 3.5]]></category>
		<category><![CDATA[blogging general]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PLINQ]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[soft]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[VSTS]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Live]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://khason.net/blog/some-new-post-mix-downloads/</guid>
		<description><![CDATA[Today is download day at MSDN. There are some very interesting things published. New release of Windows SDK (new classes for WPF 3.5, bugs fixes, and enhanced support for Windows Server 2008, including speech, error reporting and UAC). Download it here. For more information, visit SDK blog Windows XP SP3 RC2 (it&#8217;s not final release), [...]


Related posts:<ol><li><a href='http://khason.net/itpro/tfs-licensing-model-demystification-or-what-should-i-buy-for-my-company-in-order-not-to-step-on-the-licensing-mine/' rel='bookmark' title='Permanent Link: TFS licensing model demystification or what should I buy for my company in order not to step on the licensing mine?'>TFS licensing model demystification or what should I buy for my company in order not to step on the licensing mine?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Today is download day at MSDN. There are some very interesting things published. </p>
<ul>
<li>New release of Windows SDK (new classes for WPF 3.5, bugs fixes, and enhanced support for Windows Server 2008, including speech, error reporting and UAC). <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&amp;amp;DisplayLang=en">Download it here</a>. For more information, <a href="http://blogs.msdn.com/windowssdk/archive/2008/03/01/integrating-windows-sdk-and-vs-with-new-sdk-configuration-tool.aspx">visit SDK blog</a></li>
<li>Windows XP SP3 RC2 (it&#8217;s not <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=68c48dad-bc34-40be-8d85-6bb4f56f5110&amp;amp;DisplayLang=en">final release</a>), but if you want to try it (not in production environment) <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=114f3599-12af-42b2-aab1-b969a62c68a7&amp;amp;DisplayLang=en">download it here</a>. As well as if you are ready to harm your system. Give a try to <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=1a2e3ddd-b38b-439d-bba7-f179a5d3ecaf&amp;amp;DisplayLang=en">Windows Internet Explorer 8 Beta 1 for XP</a> (or for <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c3c6e8c1-bd91-490b-86f5-f3652dd691de&amp;amp;DisplayLang=en">Vista/Home Server 2008</a>, or <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=f2e76e1f-7592-4d74-a558-3cca1d7b5592&amp;amp;DisplayLang=en">Windows Server 2003 SP2</a>).</li>
<li>There are <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=df80d533-ba87-40b4-abe2-1ef12ea506b7&amp;amp;DisplayLang=en">some fixes for Microsoft XNA Game Studio 2.0</a> (make sure, that you know what is it. If not, come to see my TechEd session). Also, you can <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=d6a69b9f-2aef-4125-b162-edf0ae922caf&amp;amp;DisplayLang=en">download Games for Windows &#8211; LIVE redistributable</a> .</li>
<li>If you are lucky Zune owner, you can <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6136349f-2b32-4946-83b5-a09775531ef4&amp;amp;DisplayLang=en">download PC software 2.3 for it</a></li>
<li>If you Virtual Earth fun, <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e9298080-50c4-4f2e-9fc4-4009074996ba&amp;amp;DisplayLang=en">add realistic 3D capabilities</a> to use <a target="_blank" href="http://maps.live.com">online Live Search Maps</a>.</li>
<li>If you still have no Silverlight Tools for VS2008, be sure <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e0bae58e-9c0b-4090-a1db-f134d9f095fd&amp;amp;DisplayLang=en">to download it</a> (this is not chained installer, tools only)</li>
</ul>
<p>Enough for this morning. Warm up your download machines and start downloading.</p>


<p>Related posts:<ol><li><a href='http://khason.net/itpro/tfs-licensing-model-demystification-or-what-should-i-buy-for-my-company-in-order-not-to-step-on-the-licensing-mine/' rel='bookmark' title='Permanent Link: TFS licensing model demystification or what should I buy for my company in order not to step on the licensing mine?'>TFS licensing model demystification or what should I buy for my company in order not to step on the licensing mine?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://khason.net/blog/some-new-post-mix-downloads/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>7 XNA community games for XBOX are free now!</title>
		<link>http://khason.net/blog/7-xna-community-games-for-xbox-are-free-now/</link>
		<comments>http://khason.net/blog/7-xna-community-games-for-xbox-are-free-now/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 09:43:24 +0000</pubDate>
		<dc:creator>Tamir</dc:creator>
				<category><![CDATA[BLOG]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[promo]]></category>
		<category><![CDATA[teched]]></category>
		<category><![CDATA[TechedIsrael2008]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://khason.net/blog/7-xna-community-games-for-xbox-are-free-now/</guid>
		<description><![CDATA[Xbox Live Community Games is new program, announced by XNA Creators Club. It gives you a chance to download for free seven games for XBox absolutely free.&#160; So, what are you waiting for? Download it now from http://creators.xna.com website. What&#8217;s included? The Dishwasher: Dead Samurai JelloCar Little Gamers Proximity HD Rocketball TriLinea Culture You can [...]

<p/>]]></description>
			<content:encoded><![CDATA[<p><a href="http://xna.com" target="_blank">Xbox Live Community Games</a> is new program, announced by XNA Creators Club. It gives you a chance to download <u>for free</u> seven games for XBox absolutely free.&#160; So, what are you waiting for? Download it now from <a href="http://creators.xna.com">http://creators.xna.com</a> website.</p>
<p>What&#8217;s included?</p>
<ul>
<li>The Dishwasher: Dead Samurai</li>
<li>JelloCar</li>
<li>Little Gamers</li>
<li>Proximity HD</li>
<li>Rocketball</li>
<li>TriLinea</li>
<li>Culture</li>
</ul>
<p>You can either <a href="http://creators.xna.com/whatsnew.aspx" target="_blank">watch an &quot;XBox insider&quot;</a> video to learn how to download and run those games.</p>
<p>However, the most interesting news, is that Microsoft deciding be become an authority for distributing community games via Xbox Live Marketplace, thus now, you can write not only for yourself, but wider your game distribution with Microsoft.</p>
<p>So what are you waiting for? <a href="http://creators.xna.com/Education/GettingStarted.aspx" target="_blank">Download and install XNA Game Studio 2.0</a>, come to <a href="http://khason.net/blog/how-to-build-cool-games-by-using-xna-framework/" target="_blank">my presentation</a> in <a href="http://www.microsoft.com/israel/teched2008/index.aspx" target="_blank">TechEd &#8217;08</a> to learn how to do it and begin to make your own gaming business (or do it just for your fun).</p>
<p><img height="89" alt="image" src="http://khason.net/images/2008/12/image-3b2535cb-364c-47ba-95a0-da59e5d4a61a.png" width="501" border="0" /></p>


<p/>]]></content:encoded>
			<wfw:commentRss>http://khason.net/blog/7-xna-community-games-for-xbox-are-free-now/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to build cool games by using XNA framework</title>
		<link>http://khason.net/blog/how-to-build-cool-games-by-using-xna-framework/</link>
		<comments>http://khason.net/blog/how-to-build-cool-games-by-using-xna-framework/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 18:33:20 +0000</pubDate>
		<dc:creator>Tamir</dc:creator>
				<category><![CDATA[BLOG]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[promo]]></category>
		<category><![CDATA[teched]]></category>
		<category><![CDATA[TechedIsrael2008]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://khason.net/blog/how-to-build-cool-games-by-using-xna-framework/</guid>
		<description><![CDATA[This TechEd, me and Alex will explain how to make XNA, WPF and {censored} work together to develop entertainment stuff easier. In spite of the fact, that we&#8217;ll explain a little about XNA core, it makes cense (if you want to know) to learn it yourself. Trust me, XNA is brilliant framework, that makes you [...]


Related posts:<ol><li><a href='http://khason.net/itpro/quick-it-tip-how-to-build-bootable-usb-stick/' rel='bookmark' title='Permanent Link: Quick IT tip: How to build bootable USB stick'>Quick IT tip: How to build bootable USB stick</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This <a href="http://blogs.microsoft.co.il/tags/teched/default.aspx" target="_blank">TechEd</a>, me and <a href="http://blogs.microsoft.co.il/blogs/alex_golesh/" target="_blank">Alex</a> will explain how to make XNA, WPF and {censored} work together to develop entertainment stuff easier. In spite of the fact, that we&#8217;ll explain a little about XNA core, it makes cense (if you want to know) to learn it yourself. </p>
<p>Trust me, XNA is brilliant framework, that makes you able to build games easier. You have not know DirectX or C++ in order to build your own WoW, Resident Evil, GTA or Halo. All you have to do is to visit <a href="http://xna.com/" target="_blank">XNA.com</a>, download <a href="http://creators.xna.com/Education/GettingStarted.aspx" target="_blank">XNA Game Studio 2</a> and start programming your own game, that will run on your PC and XBOX.</p>
<p>Already done it and still do not know how to start? Let Dan to teach you. Visit <a href="http://blogs.msdn.com/dawate/archive/2008/02/05/building-a-3d-game-in-xna-from-scratch-free-video-tutorial-series-now-available.aspx" target="_blank">his great video series</a> about XNA development. Still frustrated and want to know more? Come and s ee me at <a href="http://www.microsoft.com/israel/teched2008/index.aspx" target="_blank">TechEd&#8217;08 Eilat</a>.</p>
<p><img height="90" alt="image" src="http://khason.net/images/2008/12/image-6ff5f8fe-36b1-4358-a82d-748a28fe7696.png" width="550" border="0" /></p>


<p>Related posts:<ol><li><a href='http://khason.net/itpro/quick-it-tip-how-to-build-bootable-usb-stick/' rel='bookmark' title='Permanent Link: Quick IT tip: How to build bootable USB stick'>Quick IT tip: How to build bootable USB stick</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://khason.net/blog/how-to-build-cool-games-by-using-xna-framework/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
