ASP .NET 4.0 How do I Redirect/Override the default CDN path for ScriptManager when EnableCDN=true

Posted by plattnum on Stack Overflow See other posts from Stack Overflow or by plattnum
Published on 2010-06-09T16:49:39Z Indexed on 2010/06/09 16:52 UTC
Read the original article Hit count: 272

Filed under:
|
|
|

I am using the EnableCdn=true in my ScriptManager so that WebResource.axd and ScriptResource.axd are overridden with static links to JS libraries at the MS CDN service as follows:

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableCdn="true"  />

How do I override the CDN URLs or service so that I can retrieve the scripts over HTTPS from the MS CDN service rather than HTTP to avoid the browser mixed mode message? or for that matter a different or my own CDN service entirely.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about JavaScript