This is a migrated thread and some comments may be shown as answers.

Caching of Telerik assemblies

11 Answers 129 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hwsoderlund
Top achievements
Rank 1
hwsoderlund asked on 15 Jul 2009, 11:22 AM
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

11 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Jul 2009, 11:25 AM
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.
0
Valentin.Stoychev
Telerik team
answered on 15 Jul 2009, 11:31 AM
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.
0
hwsoderlund
Top achievements
Rank 1
answered on 15 Jul 2009, 12:02 PM
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
0
Accepted
Valentin.Stoychev
Telerik team
answered on 15 Jul 2009, 01:35 PM
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.
0
Valentin.Stoychev
Telerik team
answered on 15 Jul 2009, 01:42 PM
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.
0
hwsoderlund
Top achievements
Rank 1
answered on 15 Jul 2009, 02:18 PM
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!
0
yelong
Top achievements
Rank 1
answered on 28 Jul 2009, 07:22 PM

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
0
Valentin.Stoychev
Telerik team
answered on 03 Aug 2009, 11:20 AM
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.
0
yelong
Top achievements
Rank 1
answered on 04 Aug 2009, 03:50 PM

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
0
Valentin.Stoychev
Telerik team
answered on 04 Aug 2009, 04:05 PM
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.
0
yelong
Top achievements
Rank 1
answered on 04 Aug 2009, 04:41 PM

Thank you very much.

Yelong
Tags
General Discussions
Asked by
hwsoderlund
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Valentin.Stoychev
Telerik team
hwsoderlund
Top achievements
Rank 1
yelong
Top achievements
Rank 1
Share this question
or