BT

InfoQ Homepage News Microsoft Creates a CDN for AJAX and jQuery Libraries

Microsoft Creates a CDN for AJAX and jQuery Libraries

Bookmarks

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
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.

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

Community comments

  • 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!

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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.