BT

Your opinion matters! Please fill in the InfoQ Survey!

Microsoft Creates a CDN for AJAX and jQuery Libraries

| by Abel Avram Follow 4 Followers on Sep 17, 2009. Estimated reading time: 1 minute |

A note to our readers: As per your request we have developed a set of features that allow you to reduce the noise, while not losing sight of anything that is important. Get email and web notifications by choosing the topics you are interested in.

In an attempt to lure developers and web sites to use ASP.NET, Microsoft has created a special CDN that serves Microsoft AJAX and jQuery scripts to all interested for free.

The scripts currently stored on Microsoft’s CDN are:

Microsoft AJAX v. 0909 (preview)

  • http://ajax.Microsoft.com/ajax/beta/0909/MicrosoftAjax.js
  • http://ajax.Microsoft.com/ajax/beta/0909/MicrosoftAjax.debug.js
  • http://ajax.Microsoft.com/ajax/beta/0909/MicrosoftAjaxAdoNet.js
  • http://ajax.Microsoft.com/ajax/beta/0909/MicrosoftAjaxAdoNet.debug.js
  • http://ajax.Microsoft.com/ajax/beta/0909/MicrosoftAjaxDataContext.js
  • http://ajax.Microsoft.com/ajax/beta/0909/MicrosoftAjaxDataContext.debug.js
  • http://ajax.Microsoft.com/ajax/beta/0909/MicrosoftAjaxTemplates.js
  • http://ajax.Microsoft.com/ajax/beta/0909/MicrosoftAjaxTemplates.debug.js

jQuery v. 1.3.2

  • http://ajax.Microsoft.com/ajax/jQuery/jquery-1.3.2.js
  • http://ajax.Microsoft.com/ajax/jQuery/jquery-1.3.2.min.js
  • http://ajax.Microsoft.com/ajax/jQuery/jquery-1.3.2-vsdoc.js
  • http://ajax.Microsoft.com/ajax/jQuery/jquery-1.3.2.min-vsdoc.js

To get such a script from the CDN, one needs to use the script tag in an ASP page as following:

<script src="http://ajax.Microsoft.com/ajax/beta/0909/MicrosoftAjax.js" type="text/javascript"></script>
<script src="http://ajax.Microsoft.com/ajax/jquery-1.3.2.js" type="text/javascript"></script>

Another way to load the scripts from CDN is by specifying EnableCdn=”true”:

<asp:ScriptManager ID=”SM1” EnableCdn=”true” runat=”server” />

Microsoft’s CDN also contains debug versions of the AJAX library and minified ones of the jQuery library.

The service is offered free of charge both to non-commercial and commercial applications, without the need for registration, according to the Terms of Use (docx).

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Similar to what Google has been doing since... by Thom Nichols

code.google.com/apis/ajaxlibs/
Just so ya know... :)

good for us by zhang sword

yeah,it's good for us,isn't it

Undefined acronymns equal sloppy writing by Steve Macdonald

PLEASE do not use acronyms without defining them anywhere. That is SO lazy and sloppy. Especially those such as "CDN" which has no widely understood definition (other than "Canadian").

Re: Undefined acronymns equal sloppy writing by Abel Avram

CDN = Content Delivery Network
I did not explain it, not because of laziness, but because I thought it was an acronym well known by our readers. If I overuse explanations some will say that I consider them stupid, which I don't.

Re: Undefined acronymns equal sloppy writing by John Peng

I didn't know that infoQ was an elite network slective on qualifying "our readers". Well, I happened to be one of the long time stupid readers who didn't know this acronym.

Re: Undefined acronymns equal sloppy writing by Wim De Blende

Yet another stupid reader :p
But I googled it ;)

Re: Undefined acronymns equal sloppy writing by Tom Hancock

Didn't define AJAX either!

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

7 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT