With the release of RadControls for ASP.NET Ajax Q3 2009 SP1 we introduced built-in CDN support. It was very logical that Telerik Extensions for ASP.NET MVC receive some CDN love as well. Now this is a fact! Go download the current release from here (open source) or here (licensed).


Enabling global CDN support from web.config

Add the following XML in your web.config:

<sectionGroup name="telerik">
<section name="webAssets" type="Telerik.Web.Mvc.Configuration.WebAssetConfigurationSection, Telerik.Web.Mvc"/>
<webAssets useTelerikContentDeliveryNetwork="true" />

Enable CDN support from code

.DefaultGroup(group => group.UseTelerikContentDeliveryNetwork(true))


Questions and Answers

  1. Which files are served from the Telerik CDN?
    Only telerik “native files” get served from the CDN – JavaScript, CSS and images.
  2. Where is Telerik CDN hosted?
    Amazon CloudFront
  3. What is the URL that will be output?
    • JavaScript: http://aspnet-scripts.telerikstatic.com/mvc|mvcz/assemblyVersion (mvc or mvcz depends whether the browser supports GZIP content encoding)
    • CSS and image files: http://aspnet-skins.telerikstatic.com/mvc|mvcz/assemblyVersion (mvc or mvcz depends whether the browser supports GZIP content encoding)
  4. What about SSL support?
    SSL is automatically detected and then the following will be output:
    • CSS and image files: https://telerik-aspnet-skins.s3.amazonaws.com/mvc|mvcz/assemblyVersion
    • JavaScript files: https://telerik-aspnet-scripts.s3.amazonaws.com/mvc|mvcz/assemblyVersion

Is there anything else in this release

Actually yes. We have implemented RTL support for the tabstrip, panelbar and menu.

About the Author

Atanas Korchev

 is Team Leader in Kendo UI Team


Comments are disabled in preview mode.