<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>What storage is right for me?</title><link>http://blogs.msdn.com/b/nicgrave/archive/2010/11/10/what-storage-is-right-for-me.aspx</link><description>Developers moving across all three of the platforms supported by XNA Game Studio might find themselves working with their storage code to create a single codebase that works across all three. One of the main confusions can be the issue of what actually</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: What storage is right for me?</title><link>http://blogs.msdn.com/b/nicgrave/archive/2010/11/10/what-storage-is-right-for-me.aspx#10092877</link><pubDate>Wed, 17 Nov 2010 22:51:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10092877</guid><dc:creator>NickGravelyn</dc:creator><description>&lt;p&gt;IsolatedStorage has existed in Silverlight and .NET for a while now. It exists on WP7 because of the choice to use the Silverlight version of .NET for the phone. We didn&amp;#39;t bring the XNA Storage APIs to the phone because it didn&amp;#39;t seem to add much value and most of the concepts of our API don&amp;#39;t make much sense on that platform. &lt;/p&gt;
&lt;p&gt;We did adapt the StorageContainer methods to match signature-wise with IsolatedStorageFile which should help make it easy to use minimal conditional compilation to make storage code work across both types of storage APIs:&lt;/p&gt;
&lt;p&gt;#if WINDOWS_PHONE&lt;/p&gt;
&lt;p&gt;public void SaveSomething(IsolatedStorageFile storage)&lt;/p&gt;
&lt;p&gt;#else&lt;/p&gt;
&lt;p&gt;public void SaveSomething(StorageContainer storage)&lt;/p&gt;
&lt;p&gt;#endif&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; // do something with storage as long as it&amp;#39;s one of the methods both support&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10092877" width="1" height="1"&gt;</description></item><item><title>re: What storage is right for me?</title><link>http://blogs.msdn.com/b/nicgrave/archive/2010/11/10/what-storage-is-right-for-me.aspx#10090246</link><pubDate>Fri, 12 Nov 2010 16:41:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10090246</guid><dc:creator>Jason Doucette</dc:creator><description>&lt;p&gt;Good post. Thanks. It explained a few things I was wondering about. It looks as though IsolatedStorage was created for the WP7 since the existing storage classes/methods weren&amp;#39;t really proper for it. I wonder if that&amp;#39;s true.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10090246" width="1" height="1"&gt;</description></item></channel></rss>