-
I ended up going a different direction with this and decided to store all the script and css references, for both CDNs and local files, in the appsettings of the web.config and then have a single htlmhelper method to render to the page. Web.Config < appSettings > < add key = " refJSJquery...
-
Here's an update that will also pull css files hosted on a cdn. Like the jquery themes hosted by google and described here. http://the-xavi.com/articles/jquery-ui-css-themes-hosted-on-cdn#base Web.Config <appSettings> <add key="CDNJquery" value=" http://ajax.googleapis.com...
-
HtmlHelper method that pulls settings values from the web.config and dynamically adds script references to the CDN files to be displayed on the masterpage of a asp.net mvc web application. Adding another key to the web.config appsettings that starts with "CDN" will automatically be added to...