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).
Community comments
Similar to what Google has been doing since...
by Thom Nichols,
good for us
by zhang sword,
Undefined acronymns equal sloppy writing
by Steve Macdonald,
Re: Undefined acronymns equal sloppy writing
by Abel Avram,
Re: Undefined acronymns equal sloppy writing
by John Peng,
Re: Undefined acronymns equal sloppy writing
by Wim De Blende,
Re: Undefined acronymns equal sloppy writing
by Tom Hancock,
Similar to what Google has been doing since...
by Thom Nichols,
Your message is awaiting moderation. Thank you for participating in the discussion.
code.google.com/apis/ajaxlibs/
Just so ya know... :)
good for us
by zhang sword,
Your message is awaiting moderation. Thank you for participating in the discussion.
yeah,it's good for us,isn't it
Undefined acronymns equal sloppy writing
by Steve Macdonald,
Your message is awaiting moderation. Thank you for participating in the discussion.
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,
Your message is awaiting moderation. Thank you for participating in the discussion.
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,
Your message is awaiting moderation. Thank you for participating in the discussion.
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,
Your message is awaiting moderation. Thank you for participating in the discussion.
Yet another stupid reader :p
But I googled it ;)
Re: Undefined acronymns equal sloppy writing
by Tom Hancock,
Your message is awaiting moderation. Thank you for participating in the discussion.
Didn't define AJAX either!