Silverlight 3 Shared Memory feature... any example?

2 posts, 1 answers
  1. Michele
    Michele avatar
    426 posts
    Member since:
    Jun 2009

    Posted 10 Sep 2009 Link to this post

    Hello,
    Yesterday I've googled a bit looking for memory share feature as reported here ... but I can't find no example... it should be usefull for me having 3 different SL application that loads each one a portion of same data....
    Thanks

    Paolo
  2. Answer
    Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 14 Sep 2009 Link to this post

    Hi Paolo,

    Unfortunately there is no shared memory in Silverlight, at least not in standard terms. You only have local messaging, which is just sending strings from one application to another.

    The blog post you link to refers to "Shared memory" as an implementation detail of Local Messaging, i.e. when you pass a string from one app to another it will not actually be copied. This though does not allow us to share memory in a more usable way. The benefit of having the strings shared may be outweighed by serializing the objects and making sure that they exist only in their serialized (string) form.

    Here is a blog post about using the local messaging (you may have seen it already):

    http://blogs.msdn.com/pstubbs/archive/2009/04/02/silverlight-3-what-s-new-with-local-messaging.aspx

    Sincerely yours,
    Miroslav
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top