Click here to Skip to main content
13,006,705 members (61,760 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


2 bookmarked
Posted 26 Sep 2009

Microsoft Ajax CDN

, 26 Sep 2009
Rate this:
Please Sign up or sign in to vote.
Microsoft Ajax CDN

Microsoft recently announced that they are going to provide Content Delivery Network support for Ajax and Jquery. This is a great idea as developers can link the jquery to Microsoft site rather than including it in the project. There are few benefits of this:

  1. No need to maintain duplicate jquery or Ajax files in the project. Just add a reference to a URL to Microsoft provided URL.
  2. Surely page loading will be faster as the script is loading from a different domain. Browser as usual doesn't allow to load multiple resources from server while loading js file. So browser can request for two or more image files from a server simultaneously, but can request for single js file per server and while loading js file browser stops requesting any other file to the same server. Now as the js file is deployed on different server, so page loading will be definitely faster.
  3. Currently for multiple sites, you are deploying the common JavaScript file (say jquery file) multiple times. So for site 1, the URL of the jquery file is For site 2, the same jquery file is deployed as So browser is loading the same version of query file for a different site. Now if you add CDN reference, then the same jquery will be used for multiple sites. And as browser caches js file, once the js file is cached for site 1, for site2 the js file will not be download.

We can expect such type of CDN network for other common components. Details can be found here on the ASP.NET site.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Architect ImpleVista Aps
Denmark Denmark
Sohel has more than six years of experience in professional software development with extensive involvement in Web based Object-Oriented, Multi-Tiered application design and development. He's Familiar with Test Driven Development (TDD) and refactoring techniques as well as having expertise in architecturing large enterprise applications. He has Experience in working with Content Management System and Portal Management System tools like SharePoint, DotNetNuke, Ektron.

Over last few years, he’s involved in development with projects on Microsoft SharePoint and received Microsoft MVP for SharePoint Server Development in the year 2011 and 2012. Currently he's working in a software company located Copenhagen,Denmark on a project integrating SharePoint and SAP. You can read his popular blog at:

You may also be interested in...

Comments and Discussions

GeneralUsing Microsoft Ajax CDN with the ASP.NET 3.5 Pin
Alexander Turlov30-Nov-09 4:44
memberAlexander Turlov30-Nov-09 4:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170628.1 | Last Updated 26 Sep 2009
Article Copyright 2009 by Sohel_Rana
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid