<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>winrtstoragehelper Discussions Rss Feed</title><link>http://winrtstoragehelper.codeplex.com/discussions</link><description>winrtstoragehelper Discussions Rss Description</description><item><title>New Post: Nuget Package</title><link>http://winrtstoragehelper.codeplex.com/discussions/397627</link><description>&lt;div style="line-height: normal;"&gt;That's great.  I'll install it via Nuget on the new apps I'll be working on.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
Dele&lt;br /&gt;
&lt;/div&gt;</description><author>dolowoyo</author><pubDate>Mon, 08 Apr 2013 20:17:44 GMT</pubDate><guid isPermaLink="false">New Post: Nuget Package 20130408081744P</guid></item><item><title>New Post: Nuget Package</title><link>http://winrtstoragehelper.codeplex.com/discussions/397627</link><description>&lt;div style="line-height: normal;"&gt;Hi dolowoyo,&lt;br /&gt;
ObjectStorageHelper is now available via nugget: &lt;a href="http://sqlblog.com/blogs/jamie_thomson/archive/2012/11/20/objectstoragehelper-now-available-via-nuget.aspx" rel="nofollow"&gt;http://sqlblog.com/blogs/jamie_thomson/archive/2012/11/20/objectstoragehelper-now-available-via-nuget.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Jamie&lt;br /&gt;
&lt;/div&gt;</description><author>jamiet</author><pubDate>Mon, 08 Apr 2013 20:14:47 GMT</pubDate><guid isPermaLink="false">New Post: Nuget Package 20130408081447P</guid></item><item><title>New Post: Serialization of custom class</title><link>http://winrtstoragehelper.codeplex.com/discussions/432068</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;No problem, I suspected that might be the case! &lt;/p&gt;
&lt;p&gt;The problem doesn't seem to occur with a string object type (not that there aren't other problems) but any other custom class I create throws the same error. It's okay, I was more wondering if you'd come across it before! I'll keep digging, in the morning when I have stopped hating the sight of code! :)&lt;/p&gt;
&lt;p&gt;Thanks anyway!&lt;/p&gt;
&lt;p&gt;mercurygal&lt;/p&gt;
&lt;/div&gt;</description><author>mercurygal</author><pubDate>Tue, 05 Feb 2013 18:37:45 GMT</pubDate><guid isPermaLink="false">New Post: Serialization of custom class 20130205063745P</guid></item><item><title>New Post: Serialization of custom class</title><link>http://winrtstoragehelper.codeplex.com/discussions/432068</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi mercurygal,&lt;br /&gt;
Oh dear. I wish I had a simple answer for you but I'm afraid I do not. While I did build ObjectStorageHelper I must confess that .Net development is not my strongpoint - in fact part of the reason for building ObjectStorageHelper was to further my own limited knowledge.&lt;/p&gt;
&lt;p&gt;From what you have said I really can't understand why this is happening. Does it happen if you use a different class other than person for T?&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;
Jamie&lt;/p&gt;
&lt;/div&gt;</description><author>jamiet</author><pubDate>Tue, 05 Feb 2013 18:25:50 GMT</pubDate><guid isPermaLink="false">New Post: Serialization of custom class 20130205062550P</guid></item><item><title>New Post: Serialization of custom class</title><link>http://winrtstoragehelper.codeplex.com/discussions/432068</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;While I understand this may not be a problem with your code, as I'm out of ideas this is a last ditch attempt for help, but using the ObjectStorageHelper for a custom class &amp;quot;person&amp;quot;, I keep encountering this error on the line where I declare the ObjectStorageHelper:&lt;/p&gt;
&lt;p&gt;&amp;quot;System.Runtime.InteropServices.WindowsRuntime.RuntimeClass is inaccessible due to its protection level. Only public types can be processed.&amp;quot;&lt;/p&gt;
&lt;p&gt;From research I understand that this ought to relate to my class but I can't see anything that isn't public:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;public class person
        {
            public string myName;
            public string myPhonenum;

            public person() { }
        }&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;So I was more wondering if you'd encountered this error at any point during development and could offer any advice? &lt;/p&gt;
&lt;p&gt;Thanks for any feedback and much appreciation for this tool!&lt;/p&gt;
&lt;p&gt;mercurygal&lt;/p&gt;
&lt;/div&gt;</description><author>mercurygal</author><pubDate>Tue, 05 Feb 2013 18:00:19 GMT</pubDate><guid isPermaLink="false">New Post: Serialization of custom class 20130205060019P</guid></item><item><title>New Post: Property type not string or int but point to another class, can I still Serialize the object?</title><link>http://winrtstoragehelper.codeplex.com/discussions/429121</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If ClassRoom is serializable then yes, I believe you should be able to do this. There's only one way to know for sure of course, try it out :)&lt;/p&gt;
&lt;p&gt;Regards&lt;br&gt;
Jamie&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>jamiet</author><pubDate>Thu, 10 Jan 2013 10:21:44 GMT</pubDate><guid isPermaLink="false">New Post: Property type not string or int but point to another class, can I still Serialize the object? 20130110102144A</guid></item><item><title>New Post: Property type not string or int but point to another class, can I still Serialize the object?</title><link>http://winrtstoragehelper.codeplex.com/discussions/429121</link><description>&lt;div style="line-height: normal;"&gt;I have a class(for instance Student) which has a property (its property type is not string or int) pointing to another class (for instance Classroom), can I still Serialize objects created from class Student?
&lt;/div&gt;</description><author>shenzhongwei</author><pubDate>Thu, 10 Jan 2013 07:28:00 GMT</pubDate><guid isPermaLink="false">New Post: Property type not string or int but point to another class, can I still Serialize the object? 20130110072800A</guid></item><item><title>New Post: Using ItemCollection</title><link>http://winrtstoragehelper.codeplex.com/discussions/401292</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Jamie…Thanks for the reply. &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;I don’t know if the error code is all that relevant. It depends on which incorrect code I try
&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Wingdings; color:#1F497D"&gt;J&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:"&gt; I think it boils down to the my ItemCollection isn’t look at as a List of T. I actually get an error in constructing
&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF; background:white"&gt;ObjectStorageHelper&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF"&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:blue; background:white"&gt;var&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black; background:white"&gt; osh =
&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:blue; background:white"&gt;new&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black; background:white"&gt;
&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF; background:white"&gt;ObjectStorageHelper&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black; background:white"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF; background:white"&gt;List&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black; background:white"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF; background:white"&gt;RealActiv&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black; background:white"&gt;&amp;gt;&amp;gt;(&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF; background:white"&gt;StorageType&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black; background:white"&gt;.Local);&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF; background:white"&gt;RealActiv&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF"&gt; is my class that contains the ItemCollection&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF"&gt;I’ve tried all kinds of things….I’m even currently messing around with
&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black; background:white"&gt;_realActiv.Collection.OfType&amp;lt;&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:#2B91AF; background:white"&gt;RealActiv&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black; background:white"&gt;&amp;gt;().ToList()&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black"&gt;Any advice…greatly appreciated.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black"&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black"&gt;&lt;br&gt;
Steve&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:Consolas; color:black"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a name="_MailEndCompose"&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:11.0pt; font-family:"&gt; jamiet [email removed]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, October 30, 2012 4:25 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; stevearas@comcast.net&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: Using ItemCollection [winrtstoragehelper:401292]&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;From: jamiet&lt;/span&gt;&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody" style="margin-bottom:24.0pt"&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;Hi Steve,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;Hmmm...thanks for letting me know. What's the error that you receive?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;regards&lt;br&gt;
Jamie&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>stevearas</author><pubDate>Wed, 31 Oct 2012 00:23:14 GMT</pubDate><guid isPermaLink="false">New Post: Using ItemCollection 20121031122314A</guid></item><item><title>New Post: Using ItemCollection</title><link>http://winrtstoragehelper.codeplex.com/discussions/401292</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;Hmmm...thanks for letting me know. What's the error that you receive?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;Jamie&lt;/p&gt;&lt;/div&gt;</description><author>jamiet</author><pubDate>Tue, 30 Oct 2012 20:24:26 GMT</pubDate><guid isPermaLink="false">New Post: Using ItemCollection 20121030082426P</guid></item><item><title>New Post: Using ItemCollection</title><link>http://winrtstoragehelper.codeplex.com/discussions/401292</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Instead of having a list of objects, I have a&amp;nbsp;container object (Activities) that has a&amp;nbsp;ItemCollection based on&amp;nbsp;&lt;span style="font-size:xx-small; font-family:Consolas; color:#2b91af"&gt;&lt;span style="font-size:xx-small; font-family:Consolas; color:#2b91af"&gt;&lt;span style="font-size:xx-small; font-family:Consolas; color:#2b91af"&gt;&lt;span style="font-size:xx-small; font-family:Consolas; color:#2b91af"&gt;IEnumerable&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:xx-small; font-family:Consolas"&gt;&lt;span style="font-size:xx-small; font-family:Consolas"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:xx-small; font-family:Consolas; color:#2b91af"&gt;&lt;span style="font-size:xx-small; font-family:Consolas; color:#2b91af"&gt;&lt;span style="font-size:xx-small; font-family:Consolas; color:#2b91af"&gt;Object&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:xx-small; font-family:Consolas"&gt;&lt;span style="font-size:xx-small; font-family:Consolas"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;that
 holds the&amp;nbsp;(Activity) objects.&amp;nbsp;I instantiate &amp;quot;Activities&amp;quot; like CurrentActivities, PossibleActivites.&amp;nbsp; I try to replicate/modify the example SaveAndLoadListOfPocos like this&lt;/p&gt;
&lt;pre&gt;  public async Task SaveRealActivities()
        {
           var osh = new ObjectStorageHelper&amp;gt;(StorageType.Local);
            await osh.SaveAsync(_realActiv.Collection);

        }&lt;/pre&gt;
&lt;p&gt;I get a build error.&amp;nbsp; It certainly doesn't like the way I'm coding it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>stevearas</author><pubDate>Tue, 30 Oct 2012 19:54:36 GMT</pubDate><guid isPermaLink="false">New Post: Using ItemCollection 20121030075436P</guid></item><item><title>New Post: Nuget Package</title><link>http://winrtstoragehelper.codeplex.com/discussions/397627</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the comment, and positive feedback.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don't currently have any plans to make this available as a Nuget package. Wouldn't even know how to.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sounds like a good idea though and its something I might look into one day - right now any work on this is on the backburner due to some other projects.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jamie&lt;/p&gt;&lt;/div&gt;</description><author>jamiet</author><pubDate>Tue, 02 Oct 2012 12:29:01 GMT</pubDate><guid isPermaLink="false">New Post: Nuget Package 20121002122901P</guid></item><item><title>New Post: Nuget Package</title><link>http://winrtstoragehelper.codeplex.com/discussions/397627</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Any plans to make this available as a Nuget Package?&lt;/p&gt;
&lt;p&gt;Great work by the way.&amp;nbsp; I was 50% done creating a generic utility such as this, then found yours and saved some time.&lt;/p&gt;
&lt;/div&gt;</description><author>dolowoyo</author><pubDate>Tue, 02 Oct 2012 01:16:50 GMT</pubDate><guid isPermaLink="false">New Post: Nuget Package 20121002011650A</guid></item><item><title>New Post: Calling from Javascript</title><link>http://winrtstoragehelper.codeplex.com/discussions/361111</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Swellenator,&lt;/p&gt;
&lt;p&gt;I wish I had a good answer for you but unfortunately I haven't done work on any of the WinJS stuff. I'm not a JS guy I'm afraid (actually I'm not really a .Net guy either but whatever ... :) )&lt;/p&gt;
&lt;p&gt;If you get an answer I'd appreciate you posting some guidance up here in case anyone else experiences the same.,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jamie&lt;/p&gt;&lt;/div&gt;</description><author>jamiet</author><pubDate>Mon, 23 Jul 2012 08:26:30 GMT</pubDate><guid isPermaLink="false">New Post: Calling from Javascript 20120723082630A</guid></item><item><title>New Post: Calling from Javascript</title><link>http://winrtstoragehelper.codeplex.com/discussions/361111</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am trying to use your code in a WinRT javascript project. I'm not sure how to do it!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;
� � &lt;span style="color:blue"&gt;var&lt;/span&gt; storageHelper = &lt;span style="color:blue"&gt;new&lt;/span&gt; NotificationsExtensions.ObjectStorageHelper(NotificationsExtensions.ObjectStorageHelper.StorageType.Roaming);
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Throws Throws a '0x800a01bd - JavaScript runtime error: Object doesn't support this action'.&lt;/p&gt;
&lt;p&gt;I set the name spaces etc as&amp;nbsp; &lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;
&lt;span style="color:blue"&gt;namespace&lt;/span&gt; NotificationsExtensions.ObjectStorageHelper
{
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;enum&lt;/span&gt; StorageType
    {
        Roaming, Local, Temporary
    }

    &lt;span style="color:blue"&gt;internal&lt;/span&gt; &lt;span style="color:blue"&gt;sealed&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; ObjectStorageHelper&amp;lt;T&amp;gt;
    {
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;etc. the StorageType enum is exposed from the JS code but no other methods are? Any Ideas? I can't seem to make the class public as it complains about the generic type.&lt;/p&gt;
&lt;/div&gt;</description><author>Swellenator</author><pubDate>Wed, 27 Jun 2012 12:11:16 GMT</pubDate><guid isPermaLink="false">New Post: Calling from Javascript 20120627121116P</guid></item></channel></rss>