Telerik blogs

A not-so-minor drawback of our original CDN implementation was that it didn’t support secure sites.
Your application will still work, but the Telerik controls will fall back to the slower Amazon S3 service when an HTTPS request is detected.

But that’s a thing of the past! The Amazon CloudFront service now supports HTTPS Access and you can take advantage of it immediately.

The new Futurama season is great by the way ;) 

Joy all around

Simply set the BaseSecureUrl property to the corresponding values for RadScriptManager/RadStyleSheetManager:

 <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
  
<CdnSettings BaseSecureUrl="https://d2i2wahzwrm1n5.cloudfront.net" TelerikCdn="Enabled" />
</
telerik:RadScriptManager> 

 
<telerik:RadStyleSheetManager id="RadStyleSheetManager1"  runat="server" >
  
<CdnSettings BaseSecureUrl="https://d35islomi5rx1v.cloudfront.net" TelerikCdn="Enabled" />
</
telerik:RadStyleSheetManager> 

You can also do so through the global web.config settings:

 <appSettings>
 
<add key="Telerik.ScriptManager.TelerikCdn" value="Enabled" />
 
<add key="Telerik.ScriptManager.TelerikCdn.BaseSecureUrl" value="https://d2i2wahzwrm1n5.cloudfront.net" />
 
<add key="Telerik.StyleSheetManager.TelerikCdn" value="Enabled" />
 
<add key="Telerik.StyleSheetManager.TelerikCdn.BaseSecureUrl" value="https://d35islomi5rx1v.cloudfront.net" />
</appSettings> 

These will be the new default values starting from the 2010 Q2 release, so you don’t need to change anything for future releases.

 

Have a great day!


About the Author

Iana Tsolova

is Product Manager at Telerik’s DevTools division. She joined the company back in the beginning of 2008 as a Support Officer and has since occupied various positions at Telerik, including Senior Support Officer, Team Lead at one of the ASP.NET AJAX teams and Technical Support Director. Iana’s main interests are web development, reading articles related to geography, wild nature and latest renewable energy technologies.

Comments

Comments are disabled in preview mode.