Caching of Telerik assemblies

12 posts, 1 answers
  1. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 15 Jul 2009 Link to this post

    Hi, I've been playing around with the assembly caching features in SL3, and noticed that the Telerik assemblies are not cached automatically like the system assemblies are. Will you be supporting this in the near future?

    Best regards,
    /Henrik
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 15 Jul 2009 Link to this post

    Hello Henrik,

    As far as I know this feature is supported by default for MS assemblies only :), nevertheless we plan to support this (most probably Q3 2009).

    Regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 15 Jul 2009 Link to this post

    Hello Henrik,

    We actually had an internal discussion about this and we were wondering if we should support this or not. There is no technical limitation and we can eventualy host our binaries on a hostine server - on Amazon S3 for example. The things are getting more complex when we start thinking about licensing and versioning on one side and with corporate proxies which can disable the download of the dll from the particular hosting server.

    The second problem is the biggest one and I want to know if you as a application developers are ok to let your users download the binaries from a third party company (from Amazon S3 server for example). can you help us and let us know what will be the perfect option for you that we can provide you with.

    We know that this can be a game changer, because the XAP file is becomeing really small when the external dlls are cached so we are taking this feature into very serios consideration.

    Greetings,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 15 Jul 2009 Link to this post

    I wasn't really thinking about external hosting of assemblies, just the mechanism where shared dll:s are zipped automatically by VS and copied to the ClientBin folder. External hosting of assemblies would be great, but just being able to have the dll:s in one central location on my own server would go a long way.
    Thanks, /Henrik
  6. Answer
    Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 15 Jul 2009 Link to this post

    Hello Henrik,

    You can do this even now. Please find attached an example of how to achieve it.

    The key point here is to provide an "extmap" file for each dll you will be referencing. I did this for the Telerik.Windows.Controls.dll. The content of the extmap file is selfexplanatory. The file is located in the "Binaries" folder of the silverlight application. Please let us know if you have more questions.

    Regards,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 15 Jul 2009 Link to this post

    Hi hwsoderlund,

    I just saw that Tim Heuer has a nice blog post on the topic:
    http://timheuer.com/blog/archive/2009/07/13/14633.aspx

    Sincerely yours,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 15 Jul 2009 Link to this post

    Ah, I see...I had already read Tim Heuer's post, but I never realised that it was possible to create an .extmap.xml file for external assemblies. I thought you could only do that with your own components. I'll give this a try and see how it goes. Thanks!
  9. yelong
    yelong avatar
    28 posts
    Member since:
    Aug 2006

    Posted 28 Jul 2009 Link to this post


    I was waiting for the feature in your final release for SL3. But from here, looks like you will not.

    Henrik explained well for the purpose, not for external download, but from our own host server.

    No problem for me from tech to add extmap files. Just weird I have to do by myself to add such many files for your dlls.

    :((

    Hope you will change the mind before your final SL3 release.

    Thanks,

    Yelong
  10. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 03 Aug 2009 Link to this post

    Hello yelong,

    For the moment we can provide sample extmap files, the problem is that you should edit them manually in order to specify the actual urls that point to your server.

    What do you think will be the best in this situation? In what format you expect these files to be distrubuted from Telerik?

    Thanks in advance for your feedback!

    Kind regards,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  11. yelong
    yelong avatar
    28 posts
    Member since:
    Aug 2006

    Posted 04 Aug 2009 Link to this post


    You can just provide the relative uri, somedll.zip, like what Microsoft does in their SDK.

    Looks you haven't studied this feature thoroughly.

    Let me know if any questions.

    Thanks,

    Yelong
  12. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 04 Aug 2009 Link to this post

    Hi yelong,

    Thanks for the clarification. We will include the default .extmap files with the SP1 next week. I added 2000 Telerik points to your account.

    Sincerely yours,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  13. yelong
    yelong avatar
    28 posts
    Member since:
    Aug 2006

    Posted 04 Aug 2009 Link to this post


    Thank you very much.

    Yelong
Back to Top
DevCraft banner