Two SL Application sharing the same DLLS

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

    Posted 28 Aug 2009 Link to this post

    Hello,
    I've got a solution with two SL Application, one main and the other that's called via .aspx page, in order to have a full screen application in pop-up... I've referenced the telerik's dll and I've noticed the main application is 3,2mb the second 1.8mb ... of them almost 800kb are of telerik's dll... I was wondering if it's possible to have the downloaded only once...
    Thanks in advance

    Paolo
  2. Answer
    Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 28 Aug 2009 Link to this post

    Hi Paolo,

    You can take advantage of Silverlight 3 Assembly caching mechanism.
    Find more information here:
    http://timheuer.com/blog/archive/2009/07/13/silverlight-3-cached-assembly-feature.aspx

    or here:
    http://www.wintellect.com/CS/blogs/jprosise/archive/2009/04/06/silverlight-3-s-new-assembly-caching.aspx

    Let us know if you need more information.

    Best wishes,
    Hristo
    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.
  3. Michele
    Michele avatar
    426 posts
    Member since:
    Jun 2009

    Posted 28 Aug 2009 Link to this post

    Hello Hristo,
    thanks a lot, I've reduced of some bytes my xap file... but it removed the reference from Microsoft DLL, beign downloaded from the internet....what about doing so with yours? can I have them hosted somewhere in my web folder and stored or it's only for MS based?

    Thanks
    Paolo
  4. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 28 Aug 2009 Link to this post

    Hi Paolo,

    Yes, you can do this for any dll in your application, it is not limited to the MS assemblies.

    I hope that you will be able to reduce the app download size even more this way. 

    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.
  5. Michele
    Michele avatar
    426 posts
    Member since:
    Jun 2009

    Posted 01 Sep 2009 Link to this post

    ok, I've understood how to create extmap.xml files and I've reduced mine application size of about 800kb...thanks
  6. Michele
    Michele avatar
    426 posts
    Member since:
    Jun 2009

    Posted 25 Jan 2010 Link to this post

    Hello,
    excuse me if I reopen this thread,
    I've checked just for case the size of my xap file and I've noticed I that some xap application, continue to keep inside the Telerik.Windows.Controls.Navigation.dll and Telerik.Windows.Controls.Input.dll even if the Telerik.Windows.Controls.Navigation.zip and Telerik.Windows.Controls.Input.zip exist in the ClientBin folder... I've checked and in the project's setting it's checked "reduce xap file ...." ... I've also deleted the obj/bin file and have done a clear project....

    There should be two MB of code less to download....
    Thanks

    p.s. I've seen some of your competitor have done a tool for compressing xap file after the creation , do you plan to release something similar?

    Thanks

    Paolo
  7. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 29 Jan 2010 Link to this post

    Hi Paolo,

    Yes we are working such tool. It will be available after Q1 release. About the double usage of the dlls we will need a project to debug. We are not aware of such issue.

    Sincerely yours,
    Valentin.Stoychev
    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