Announcing the Microsoft AJAX CDN

Earlier today the ASP.NET team launched a new Microsoft Ajax CDN (Content Delivery Network) service that provides caching support for AJAX libraries (including jQuery and ASP.NET AJAX).  The service is available for free, does not require any registration, and can be used for both commercial and non-commercial purposes.

What does a CDN provide?

Content delivery networks (CDNs) are composed of "edge cache" servers that are strategically placed around the world at key Internet network points.  These "edge cache" servers can be used to cache and deliver all types of content – including images, videos, CSS and JavaScript files.

Using a CDN can significantly improve a website's end-user performance, since it enables browsers to more quickly retrieve and download content.  For example, instead of having a browser request for an image traverse all the way across the Internet to your web server to download, a CDN can instead serve the request directly from a nearby "edge cache" server that might only be a single network hop away from your customer (making it return much faster – which makes your pages load quicker). 

What does the Microsoft AJAX CDN provide?

The Microsoft AJAX CDN makes it really easy to add the jQuery and ASP.NET AJAX script libraries to your web sites, and have them be automatically served from one of our thousands of geo-located edge-cache servers around the world. 

For example, if you want to use jQuery from the Microsoft AJAX CDN then you can simply add a standard script tag to your page using the URL below:

   <script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>   

When the browser requests the script file it will be automatically served by the CDN "edge cache" server that is closest to the end-user.  This means:

  • The request will be processed much faster than if it had to hit your web-server (making the end-user's page load much faster)
  • You don't have to pay for the bandwidth of this file – since the file comes from our server we pay the bandwidth cost (saving you money)
  • The script can be easily cached across multiple web-sites – which means it might not even need to be downloaded if the user has already hit a web-site that requested the file (and as such has it already in the browser's cache). 

You can get a full listing of the JavaScript libraries (and associated URLs) we already have loaded in our CDN cache here: www.asp.net/ajax/cdn 

We'll update the available libraries in the CDN as we ship new versions of ASP.NET AJAX, and continue to update it to include all of the JavaScript files we ship with ASP.NET and Visual Studio (including jQuery, the jQuery Validation plugin, and additional libraries we ship in the future). 

The CDN service is free and available for anyone in the community to use for both commercial and non-commercial purposes.  You do not need to register to take advantage of it.

Using the Microsoft AJAX CDN with the ASP.NET 4.0 ScriptManager

In addition to allowing you to reference script files directly using a <script> element, ASP.NET 4.0 will make it easy to use the CDN from ASP.NET Web Forms applications that use the <asp:scriptmanager/> server control. 

The ASP.NET 4.0 <asp:ScriptManager> control includes a new property named EnableCdn. When you assign the value true to this property, your application will use the Microsoft CDN to request JavaScript files automatically:

scriptmanager

When you enable the CDN with the ScriptManager, your application will retrieve all JavaScript files that it normally retrieves from the System.Web.dll or System.Web.Extensions.dll assemblies from the CDN instead.  This includes both the JavaScript files within ASP.NET AJAX, as well as the built-in Web Forms JavaScript files (for example: the WebUIValidation.js file for client-side validation, and the JavaScript files for controls like TreeView, Menu, etc).

This provides a nice end-user performance improvement, and means that users accessing your ASP.NET website won’t need to re-download these files if they have visited another ASP.NET website that uses the CDN.

Using ASP.NET AJAX Preview 5 from the CDN

In addition to launching the AJAX CDN site, the ASP.NET team has also recently released ASP.NET AJAX Preview 5. You can download ASP.NET AJAX Preview 5 (with sample code) from CodePlex: http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=32770

You can also now use the ASP.NET AJAX libraries simply by adding the following script tags that point at the CDN:

    <script src="http://ajax.microsoft.com/ajax/beta/0909/MicrosoftAjax.js" type="text/javascript"></script>

    <script src="http://ajax.microsoft.com/ajax/beta/0909/MicrosoftAjaxTemplates.js" type="text/javascript"></script>

These script tags reference the beta version of the September 2009 release of the ASP.NET AJAX library (the /0909/ part of the URL represents the year and month that the version of ASP.NET AJAX was released). 

After you add script tags that reference the ASP.NET AJAX library, you can start using the library in your page. For example, the following code attaches a client DataView control that represents an array of photos to a DIV element in the body of the page.

data 

The DIV element – with an id of "photos" – contains a template for formatting each photo in the array of photos. Here’s how the photos element is declared:

template

When the DataView is rendered, the contents of the photos DIV element is rendered for each photo in the array of photos. The following photos are displayed:

photos

Because ASP.NET AJAX is a pure JavaScript library, the code above works perfectly well in an ASP.NET Web Forms, ASP.NET MVC, HTML, or even with classic Active Server Pages. The code also works with all modern browsers.

You can learn more about ASP.NET AJAX Preview 5 by downloading the sample code from the CodePlex project: http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=32770

Below are several blog posts that delve into the features of ASP.NET AJAX Preview 5 in more depth:

    Summary

    The Microsoft Ajax CDN enables you to significantly improve the performance of ASP.NET Web Forms and ASP.NET MVC applications that use ASP.NET AJAX or jQuery.  The service is available for free, does not require any registration, and can be used for both commercial and non-commercial purposes.

    ASP.NET 4.0 will make it especially easy for ASP.NET Web Forms developers to take advantage of the CDN. By setting one property of the ScriptManager control, you will be able to redirect all requests for the built-in ASP.NET JavaScript files to the CDN and improve the performance of your Web Forms applications.

    Hope this helps,

    Scott

    P.S. In addition to blogging, I have been using Twitter more recently to-do quick posts and share links.  You can follow me on Twitter at: http://www.twitter.com/scottgu (@scottgu is my twitter name)

    Published Tuesday, September 15, 2009 11:46 PM by ScottGu

    Comments

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 2:51 AM by kennydust

    sweet

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 2:57 AM by Craig

    Nice one.

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:02 AM by Rune Grimstad

    Great stuff!

    But how about intellisense support for javascript? I seem to remember that intellisense it not supported if you reference the version on googles servers. Is this a problem here as well? And if it is, is there a workaround?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:03 AM by Joe Chung

    Awesome news! Thanks, Scott!

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:03 AM by Mohib Sheth

    Awesome. Particularly loved the EnableCDN attribute :D

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:10 AM by Jabe

    And the data MS/Google get is great!

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:12 AM by Jeff Wilcox

    This rocks! Great work, the jQuery support and investment just keeps getting better!

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:12 AM by Vlad

    That's awesome! It will be great if we have something similar for Silverlight XAP files :)

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:17 AM by Aaron

    You going to support ssl as well ?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:18 AM by Scott Hanselman

    Rune:

    Note that this CDN also hosts the vsdoc version of the jQuery files. Those are the ones used for intellisense.

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:18 AM by Ferry Meidianto

    cool!

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:19 AM by Phil

    Is there a method of falling back to a local version if the worst should happen to the microsoft servers? It worries me relying totally on microsoft without a backup plan :)

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:23 AM by Mike Leach

    Big thumbs up. Nice job!

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:27 AM by deef

    I was trying it out and got a 404 on:

    ajax.microsoft.com/.../jquery-1.3.2.min.js

    On the http://www.asp.net/ajax/cdn/ page i found a working link:

    ajax.microsoft.com/.../jquery-1.3.2.min.js

    @Rune Grimstad: there also also -vsdoc.js files served at the same location of the actual .js files (see the CDN page)

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:32 AM by Colin

    I second Vlad request, would be nice if XAP's like the Silverlight Toolkit were hosted by MS, is this possible?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:32 AM by Jesus DeLaTorre

    Any chance of hosting jquery ui?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:34 AM by Tim Acheson

    This is a really useful new service, thanks! I'll try it immediately starting with my ASP.NET MVC blog. This will change the way many developers host their static assets forever. I trust that you'll always set far-future expiry headers and have no sessions etc on these servers for optimal HTTP performance.

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:36 AM by Prabir Shrestha

    great support.

    but what if some of the isp/countries block certain domain.

    for example google domains are blocked in some countries and accessing cdn from google would cause javascripts not to work. there was some hack over this by checking whether jQuery is defined or not, then load it from the website.

    if(typeof jQuery == ‘undefined’)

    {

    // load local version…

    }

    it would be great to have that support also builtin. (but i doubt any of the isp/countries block microsoft's domain)

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:41 AM by IsToFix

    Very cool, Scott is CDN will enable adding custom java script libraries? I mean those files not from Microsoft? can community suggests adding some libraries?

    Nice job and well done

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 3:59 AM by Esben Sundgaard

    This is really great! I think it will speed up .NET websites a lot! And the EnableCDN attribute is really cool!

    I have a question: What if my site use SSL. Will the cdn work over https? And will the EnableCDN attribute automatically take care of when the site is view over SSL?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:01 AM by W0ut

    File not found on

    ajax.microsoft.com/.../jquery-1.3.2.min.js

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:04 AM by Jon

    Excellent stuff. One question though: is there anyway of avoiding the message some browsers give when pages contain a mixture of http and https resources? In the secure areas of my site I normally access all the scripts, CSS, etc over https URLs but with the CDN you don't mention whether or not I can still do that.

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:05 AM by Rune Grimstad

    @deef:

    So we should reference the -vsdoc.js files as well?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:15 AM by David Kemp

    @deef

    Yeah, it seems there's a "jQuery" missing from that jQuery script tag.

    The URL IS: ajax.microsoft.com/.../jquery-1.3.2.min.js

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:16 AM by Ngoc Luu

    Cool!

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:18 AM by W0ut

    Would be nice if https:// versions were also available without the certificate problems.

    --W

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:37 AM by George

    Excellent effort. I hope we can use the CDN stuff on the current version of Ajax/2008 with a service pack, if possible.

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:39 AM by SanjeevAgarwal

    Are microsoft is using the cdn for asp.net 2.0/3.5 ajax library?

    Sanjeev

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:44 AM by Alireza

    Hi,

    Thanks for introducing this great feature.

    Is it possible to add our own JS Libraries to CDN?

    Does it support Intellisense?

    Could you create an enhancement enabling developers to provide an alternate link to JS Libraries to be used when the CDN Server is dealing with any sort of problem?

    Thanks in advance.

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:45 AM by Esben Sundgaard

    This is really great! And the EnableCDN attribute is very cool!

    Does the cdn support SSL? And will the EnableCDN attribute automatically handle if the page is loaded over https?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:47 AM by MaLKaV_eS

    Great news! Just looking for something like this for a current project :D

    Are you planning on hosting older ajax libraries, or the files for Ajaxtoolkit?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:48 AM by mamby

    wow! great

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:59 AM by bodar77

    Great news and great news about the intellisense support.

    # Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog | Webmaster Tools

    Pingback from  Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog | Webmaster Tools

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 5:04 AM by Senthil

    Will this CDN help us in anyway if the application is Intranet based?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 5:13 AM by Dan Atkinson

    I like the idea, but I think it would be nice if you would also be able to give your own CDN provider (say, I dunno, Google).

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 5:18 AM by Pete Austin

    Service Level (uptime)? Notice period before termination? Terms&Conditions?

    # Quick thoughts on the Microsoft AJAX CDN

    Wednesday, September 16, 2009 5:18 AM by idunno.org

    Quick thoughts on the Microsoft AJAX CDN

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 5:24 AM by Catto

    Hey Now Scott,

    This is good, requests will be served faster for js libraries.

    Thx 4 the info,

    Catto

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 5:27 AM by velvetflair

    Hi Scott,

    Very neat idea to have AJAX and jQuery come from the Microsoft AJAX CDN considering the bandwidth issues and performance. By the way, do you have a benchmark statistics at hand to enlighten us on the performance benefits? I have also Tweeted about yours thus:

    RT velvetflair: Announcing the new free Microsoft AJAX CDN service hosting jQuery and ASP.NET AJAX: http://tinyurl.com/ajaxcdn via @scottgu

    Thanks,

    Shahriar Hyder

    # Announcing the Microsoft AJAX CDN - ScottGu's Blog

    Wednesday, September 16, 2009 5:29 AM by WebDevVote.com

    You are voted (great) - Trackback from WebDevVote.com

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 5:42 AM by vik20000in

    good to know this, Earlier people using JQuery for .net projects had to rely on Google. It looks better that we have a CDN for asp.net projects.

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 5:43 AM by Nangto_baba

    good....

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 6:13 AM by Tim Acheson

    This is so sweet, I had to blog about it:

    www.timacheson.com/.../microsoft_launches_ajax_content_distribution_network

    I would suggest putting a web page about the service in the root of the AJAX CDN URL:

    http://ajax.microsoft.com

    # Microsoft Ajax CDN (Content Delivery Network) service announced

    Wednesday, September 16, 2009 6:31 AM by Same Old Applications

    Good news for getting a better performance &#39;cause CDN server could be somewhere close to your user

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 6:42 AM by Mike

    But how do I specify that I want to load WebForms.js from the CDN? it is included automatically as a normal script by the WebForms infrastructure right? Or is this changed in 4.0? Does the script manager control take over the ClientScript.Register... methods or something?

    I'm confused...

    # Announcing the Microsoft AJAX CDN - ScottGu&#39;s Blog &laquo; Improvers

    Wednesday, September 16, 2009 6:52 AM by Announcing the Microsoft AJAX CDN - ScottGu's Blog « Improvers

    Pingback from  Announcing the Microsoft AJAX CDN - ScottGu&#39;s Blog &laquo;  Improvers

    # Microsoft AJAX CDN &laquo; WillyXoft

    Wednesday, September 16, 2009 7:02 AM by Microsoft AJAX CDN « WillyXoft

    Pingback from  Microsoft AJAX CDN &laquo; WillyXoft

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 7:33 AM by Adeel Alvi

    thankx scott , now i will not get F from Yslow :)

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 8:10 AM by ender

    Good idea! I prefer my implementation :)

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 8:53 AM by Jon Kruger

    Win!!

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 8:57 AM by Stefan Bergfeldt

    Great!

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 9:25 AM by neo302

    awesome!

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 9:26 AM by tforster

    Hey Scott that's great news and it also answers the question I posted in a comment on one of your previous posts: weblogs.asp.net/.../starter-project-templates-vs-2010-and-net-4-0-series.aspx :)

    When using EnableCdn in the scriptmanager will it be possible to override the actual cdn? Maybe point to (ahem)Google's cdn, S3, private virtual cloud, etc?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 9:39 AM by SslSupport

    @Aaron:

    While ajax.microsoft.com currently has the cert mismatch problem (since it's got akamai's cert right now), if you want working https for your CDN you can use Google, like:

    ajax.googleapis.com/.../jquery.min.js

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 9:41 AM by Greg Lemons

    I see that the jquery vsdoc intellisense is also hosted on the cdn.  I always have problems getting intellisense working for jquery without using some hack.  I tried referencing the cdn jquery script and noticed it doesn't automatically fetch the vsdoc file and I get no intellisense without reverting back to the "if false" hack referencing a local jquery copy.

    Can you show an example of how to setup intellisense when using jquery hosted on the cdn?

    Thanks!

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 9:42 AM by Jon

    Cool.  And if you prefer Google, they've been doing this with jQuery for a while now:

    encosia.com/.../3-reasons-why-you-should-let-google-host-jquery-for-you

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 9:50 AM by AaronMeis

    Great News! Thanks Scott.

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 9:53 AM by michalzygula

    Huh, someone is following google ...

    I wonder, why Microsoft is doing that AND playing with jQuery?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 9:56 AM by yaip

    great but how do i use it?

    # Announcing the Microsoft AJAX CDN - ScottGu's Blog

    Wednesday, September 16, 2009 10:14 AM by DotNetKicks.com

    You've been kicked (a good thing) - Trackback from DotNetKicks.com

    # Microsoft Announces Shared CDN for Common AJAX Scripts

    Wednesday, September 16, 2009 10:24 AM by hacked.brain

    Microsoft Announces Shared CDN for Common AJAX Scripts

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 10:33 AM by Basit Tanveer

    Great :)

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 10:54 AM by paul.shaver

    So, all things being equal, which CDN for jquery is better?  Microsoft or Google?  Anyone want to run tests?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 11:14 AM by patrik

    As michael writes here weblogs.asp.net/.../quick-thoughts-on-the-microsoft-ajax-cdn.aspx it would be great if you could use a domain with no cookies. The performance for the client would be better as less data would be sent/recieved over the wire.

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 11:17 AM by chanva

    The url address in the example is wrong, the right one is "ajax.microsoft.com/.../jquery-1.3.2.min.js".

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 11:51 AM by azamsharp

    Is there any way to switch to local server if the CDN is down and vice versa?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 12:05 PM by sirdneo

    Really nice previously I have to use Google for this purpose.

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 1:16 PM by developer

    how about different version of libraries? any security risks ? way to fall back on local server ?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 1:20 PM by Jackson

    Nice work...

    For beginners, check out AjaxBasics.com

    http://AjaxBasics.com

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 1:33 PM by Adam

    Why is this better than using the Google hosted CDN?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 1:35 PM by amin sharifi

    thanx for announcing this new technology.

    but one question,jquery is just best chosen library from microsoft or ajax team and jquery team have relationship and corporate with each other.

    regards,

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 2:16 PM by Stephen Walther

    @Rune,

    Visual Studio 2010 supports JavaScript Intellisense from the CDN. When you add a script that refers to the CDN, Visual Studio 2010 grabs the vsdoc or debug file that corresponds to the script in the background automatically (You don't have to do anything special to get the Intellisense to work). We are already hosting the debug versions of the Microsoft Ajax scripts and the vsdoc files for both jQuery and the jquery.validate plug-in on the CDN.

     -- Stephen

    >>>>>>Wednesday, September 16, 2009 3:02 AM by Rune Grimstad

    Great stuff!

    But how about intellisense support for javascript? I seem to remember that intellisense it not supported if you reference the version on googles servers. Is this a problem here as well? And if it is, is there a workaround?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 2:22 PM by Stephen Walther (Microsoft ASP.NET AJAX Team)

    @Phil,

    That is a great suggestion! We've heard a number of people suggest something similiar (automatic failover to local scripts).  

     -- Stephen

    >>> Wednesday, September 16, 2009 3:19 AM by Phil

    Is there a method of falling back to a local version if the worst should happen to the microsoft servers? It worries me relying totally on microsoft without a backup plan :)

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 2:30 PM by Stephen Walther (Microsoft ASP.NET AJAX Team)

    Hi Jon,

    We are working on adding SSL support. Once SSL support is enabled, you'll be able to prevent the warning dialog about mixed secure and unsecure content from being displayed.

     -- Stephen

    >>> Wednesday, September 16, 2009 4:04 AM by Jon

    Excellent stuff. One question though: is there anyway of avoiding the message some browsers give when pages contain a mixture of http and https resources? In the secure areas of my site I normally access all the scripts, CSS, etc over https URLs but with the CDN you don't mention whether or not I can still do that.

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 2:54 PM by OtherLibraries

    google's CDN hosts lots more libs, including jquery UI, prototype, dojo, (even Yahoo!'s YUI) etc.

     - code.google.com/.../index.html

     - will the Microsoft CDN be adding these (and/or others) as well?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 2:59 PM by bruce l

    Scott.. this is really cool.

    Just one quick question.  Is there any SLA on this service?  or general uptime?

    # Quick thoughts on the Microsoft AJAX CDN - Michael's Blog

    Wednesday, September 16, 2009 3:30 PM by Quick thoughts on the Microsoft AJAX CDN - Michael's Blog

    Pingback from  Quick thoughts on the Microsoft AJAX CDN - Michael's Blog

    # Announcing the Microsoft AJAX CDN - ScottGu's Blog

    Wednesday, September 16, 2009 4:08 PM by Announcing the Microsoft AJAX CDN - ScottGu's Blog

    Pingback from  Announcing the Microsoft AJAX CDN - ScottGu's Blog

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:33 PM by Stephen Walther (Microsoft ASP.NET AJAX Team)

    @OtherLibraries,

    We just added the jQuery Validation library to the CDN. You can learn more at stephenwalther.com/.../microsoft-ajax-cdn-and-the-jquery-validation-library.aspx

     -- Stephen

    >>> Wednesday, September 16, 2009 2:54 PM by OtherLibraries

    google's CDN hosts lots more libs, including jquery UI, prototype, dojo, (even Yahoo!'s YUI) etc.

    - code.google.com/.../index.html

    - will the Microsoft CDN be adding these (and/or others) as well?

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 4:36 PM by Stephen Walther (Microsoft ASP.NET AJAX Team)

    @yaip,

    Take a look at the samples of using the ASP.NET AJAX and jQuery libraries on the CDN landing page at http://www.asp.net/ajax/cdn/ Hope this helps!

     -- Stephen

    >> Wednesday, September 16, 2009 9:56 AM by yaip

    great but how do i use it?

    # ASP.NET AJAX 4.0 Preview 5 – Working with Converters and the new CDN

    Wednesday, September 16, 2009 5:01 PM by Fredrik Normén

    In this blog post I’m going to show you how you can use the new Converter feature during data binding

    # ASP.NET MVC Archived Blog Posts, Page 1

    Wednesday, September 16, 2009 6:46 PM by ASP.NET MVC Archived Blog Posts, Page 1

    Pingback from  ASP.NET MVC Archived Blog Posts, Page 1

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, September 16, 2009 7:03 PM by singhgurd

    Great add on; Apart from performance benefit i now don't need to maintain local JavaScript directories in my application.

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 1:39 AM by Krunal

    Nice one.

    I am expecting this from microsoft. (as google is also providing cdn)

    ;)

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 2:59 AM by MisterFantastic

    Hi,

    We also need offline support . I think this feature will be very useful when one goes for Production rollouts. During development I think this may not be a suitable feature.

    Thanks,

    Thanigainathan.S

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 3:54 AM by Richard

    Hi Scott, great idea. You really need to add the http://www.prototypejs.org/ (with scriptaculo.us) to the CDN, since *many* existing ASP.NET sites use them ... primarily because the decision for jQuery was made after prototype.js libs we're already in intensive use on .NET 2 .NET 3.X sites (with AjaxToolkit etc.). So, please let us know.

    Thanks!

    Richard

    PS: Also, what about permitting .NET library providers usage of the CDN to improve their .NET based products? Real SaaS from Microsoft.

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 4:06 AM by Jon Davis

    CDNs and minification likewise are good for optimized performance. But I and those whom I work for would appreciate the CDN's TOS to be passed along to a similar optimization process. If we have to hire lawyers to wade through the TOS to be sure it's legally safe, it's simply not worth it.

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 5:18 AM by Naresh

    We need to train few of our newcomers in this. Any pointer will be greatly appreciated.

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 5:30 AM by Ajit

    Very nice stuff

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 8:09 AM by Ami

    Do we have the ability to combine various JS files into one, to reduce the number of requests?

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 8:12 AM by Tim Acheson

    Thanks for correcting the URLs on this page; I now get nice rapid successful 200 responses from these URLs. :)

    Just out of curiousity I performed a simple benchmarking test to compare the speed of Microsoft's CDN vs Google's CDN for serving the raw JQuery 1.3.2 library. Microsoft's CDN is marginally faster than Google's:-

    www.timacheson.com/.../microsoft_launches_ajax_content_distribution_network

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 9:15 AM by hangy

    Sounds like a great idea for end-user experience regarding ASP.NET applications with JavaScript. Would it be possible to upload the current official releases of MicrosoftAjax.js and MicrosoftMvcAjax.js as well, so that we can use the CDN for applications which are being deployed right now?

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 9:58 AM by Scott Marlowe

    Nice. How about a CDN version of silverlight.js?

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 12:52 PM by eric

    what happen if the page is unicode?

    # re: Announcing the Microsoft AJAX CDN

    Thursday, September 17, 2009 6:48 PM by Riza Marhaban

    This is cool!!!

    # ContinousLearner: Links (9/17/2009) | Astha

    Thursday, September 17, 2009 9:54 PM by ContinousLearner: Links (9/17/2009) | Astha

    Pingback from  ContinousLearner: Links (9/17/2009) | Astha

    # Tune Up Your PC &raquo; Post Topic &raquo; ScottGu: ???????????? AJAX CDN

    Pingback from  Tune Up Your PC  &raquo; Post Topic   &raquo; ScottGu: ???????????? AJAX CDN

    # ScottGu: ???????????? AJAX CDN | Codedstyle

    Friday, September 18, 2009 8:13 AM by ScottGu: ???????????? AJAX CDN | Codedstyle

    Pingback from  ScottGu: ???????????? AJAX CDN | Codedstyle

    # ScottGu: 宣布微软 AJAX CDN

    Friday, September 18, 2009 10:19 AM by geff zhang

    今天早些时候,ASP.NET开发团队推出了一个新的微软Ajax CDN(Content Delivery Network,内容分发网络)服务,该服务提供了对AJAX库(包括jQuery 和 ASP.NET AJAX)的缓存支持。该服务是免费的,不需任何注册,可用于商业性或非商业性用途。

    # Microsoft launches CDN for AJAX | Fortysixty&#8217;s Gadget Blog

    Friday, September 18, 2009 2:39 PM by Microsoft launches CDN for AJAX | Fortysixty’s Gadget Blog

    Pingback from  Microsoft launches CDN for AJAX | Fortysixty&#8217;s Gadget Blog

    # Microsoft launches CDN for AJAX | Fortysixty&#8217;s Gadget Blog

    Friday, September 18, 2009 2:39 PM by Microsoft launches CDN for AJAX | Fortysixty’s Gadget Blog

    Pingback from  Microsoft launches CDN for AJAX | Fortysixty&#8217;s Gadget Blog

    # Microsoft launches CDN for AJAX | Gadgets 411

    Friday, September 18, 2009 3:19 PM by Microsoft launches CDN for AJAX | Gadgets 411

    Pingback from  Microsoft launches CDN for AJAX | Gadgets 411

    # &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    Pingback from  &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    # &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    Pingback from  &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    # Microsoft launches CDN for AJAX | Gizmo News

    Friday, September 18, 2009 6:10 PM by Microsoft launches CDN for AJAX | Gizmo News

    Pingback from  Microsoft launches CDN for AJAX | Gizmo News

    # &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    Pingback from  &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    # Microsoft launches CDN for AJAX | PC Badge

    Friday, September 18, 2009 6:52 PM by Microsoft launches CDN for AJAX | PC Badge

    Pingback from  Microsoft launches CDN for AJAX | PC Badge

    # &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    Pingback from  &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    # Today&#8217;s Favorite Stories

    Friday, September 18, 2009 7:54 PM by Today’s Favorite Stories

    Pingback from  Today&#8217;s Favorite Stories

    # &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    Pingback from  &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    # &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    Pingback from  &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    # &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    Pingback from  &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    # &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    Pingback from  &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    # &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    Pingback from  &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    # TWC9: Sven Groot, Beer taste test, Office Web, ASP.NET Auto-Starts, System.IO changes | Tech-monkey.info Blogs

    Pingback from  TWC9: Sven Groot, Beer taste test, Office Web, ASP.NET Auto-Starts, System.IO changes | Tech-monkey.info Blogs

    # &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    Pingback from  &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    # &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    Pingback from  &raquo; Announcing the Microsoft AJAX CDN &#8211; ScottGu&#039;s Blog - Yee Torrents News 4

    # re: Announcing the Microsoft AJAX CDN

    Sunday, September 20, 2009 12:11 PM by Michael Herndon

    any chance that microsoft will add other well used libraries/plugins, like microsoft did with the jquery validation?

    the syntax highlighter comes to mind cause its so widely used on various blogs, especially developer blogs.  

    alexgorbatchev.com/.../SyntaxHighlighter

    # re: Announcing the Microsoft AJAX CDN

    Monday, September 21, 2009 4:41 AM by Tiendq

    Cool, I asked our UI guys to use this CDN in ongoing project :).

    Thanks,

    # re: Announcing the Microsoft AJAX CDN

    Monday, September 21, 2009 8:52 AM by smehaffie

    It would also be nice if there was a way for companies to pay for private space on the CDN where they could upload their own js files and only they would be able to access it.  This would of course require SSL support and a way for the company to pass some sort of authentication to the server to access their js files.

    # re: Announcing the Microsoft AJAX CDN

    Monday, September 21, 2009 9:11 AM by smehaffie

    I know it would be a pain to maintain, unless it could be automated with the help of the JQuery Team, but it would be nice if all the JQuery plugins could also be hosted on the CDN.  Otherwise, even if you use the JQuery.js on the CDN, you still have to manage the plug-ins on your local servers.  This probably won't happen, but it is nice to dream of the perfect utopia.  

    Maybe at a minimum something could be done so the most popular jQuery plugins are hosted on the CDN.  Since MS has a relationship with the JQuery team maybe this could be automated and plugins could automatically be uploaded/updated to the CDN once they have x number of downloads.

    # re: Announcing the Microsoft AJAX CDN

    Monday, September 21, 2009 11:32 AM by Evaldas

    I would like Web Browsers to support static content delivery trough torrent network (every web site visitor could be potential host for static files checked with signature, supplied by original web/torrent server). Visitor of website will support ease traffic's bill of his favorite website, just by visiting it. :)

    # Programming news: Bug Battle results, PHP 5.2.11, MonoTouch | Programming and Development | TechRepublic.com

    Pingback from  Programming news: Bug Battle results, PHP 5.2.11, MonoTouch | Programming and Development | TechRepublic.com

    # re: Announcing the Microsoft AJAX CDN

    Friday, September 25, 2009 12:50 AM by asheesh soni

    Need CDN for Silverlight DLLs

    # Microsoft launches CDN for AJAX &laquo; Naveed bajwa&#039;s Blog

    Friday, September 25, 2009 3:05 AM by Microsoft launches CDN for AJAX « Naveed bajwa's Blog

    Pingback from  Microsoft launches CDN for AJAX &laquo;  Naveed bajwa&#039;s Blog

    # Playing with JQuery Validation library | Elegant Code

    Monday, September 28, 2009 12:21 AM by Playing with JQuery Validation library | Elegant Code

    Pingback from  Playing with JQuery Validation library | Elegant Code

    # Increase Your Website Performance by Hosting jQuery with a CDN

    Tuesday, September 29, 2009 11:25 PM by Web Dev .NET

    Increase Your Website Performance by Hosting jQuery with a CDN

    # re: Announcing the Microsoft AJAX CDN

    Thursday, October 01, 2009 8:30 PM by matthew29

    Will you be supporting GZipped downloads?

    # #.think.in infoDose #43 (11th September - 22nd September)

    Friday, October 02, 2009 9:42 AM by #.think.in

    #.think.in infoDose #43 (11th September - 22nd September)

    # Microsoft Cozies Up to Designers and Developers

    Friday, October 02, 2009 4:16 PM by Website Magazine

    Microsoft seems to be feeling the heat from other SMB providers. Recently they have launched BizSpark

    # Optimizing Website Peformance with a CDN (jQuery) &raquo; Aknosis.com

    Pingback from  Optimizing Website Peformance with a CDN (jQuery) &raquo; Aknosis.com

    # ??????????e?????? Jquery | PHP Scribe

    Monday, October 05, 2009 12:34 AM by ??????????e?????? Jquery | PHP Scribe

    Pingback from  ??????????e?????? Jquery | PHP Scribe

    # Using jQuery to work with ASP.NET-munged HTML elements &laquo; Meatball&#039;s Guide to .NET

    Pingback from  Using jQuery to work with ASP.NET-munged HTML elements &laquo;  Meatball&#039;s Guide to .NET

    # the rasx() context &raquo; Blog Archive &raquo; YUI 3, MVC 2 Preview 2 and other links???

    Pingback from  the rasx() context  &raquo; Blog Archive   &raquo; YUI 3, MVC 2 Preview 2 and other links???

    # re: Announcing the Microsoft AJAX CDN

    Wednesday, October 07, 2009 8:11 PM by herzevekil

    Thanks, cool and useful features

    # re: Announcing the Microsoft AJAX CDN

    Thursday, October 08, 2009 4:48 PM by Lakshmi Akkiraju

    How would the changes to this script file are managed? How would it impact the web sites using these script files?

    # re: Announcing the Microsoft AJAX CDN

    Thursday, October 08, 2009 11:54 PM by mysorian

    My previous comment did not show up. However, I have another question.

    I get this error while running an example. I have no clue what is happening, perhaps you can throw some light. Thanks in advance.

    ---------

    Line: 1182

    Char: 9

    Error: expected ':'

    Code: 0

    URL: ajax.microsoft.com/.../MicrosoftAjaxTemplates.debug.js

    # ??????????e?????? Jquery | PHP Scribe

    Friday, October 09, 2009 9:27 PM by ??????????e?????? Jquery | PHP Scribe

    Pingback from  ??????????e?????? Jquery | PHP Scribe

    # Heikniemi Hardcoded &raquo; Microsoft Ajax CDN distributes your JavaScript files

    Pingback from  Heikniemi Hardcoded   &raquo; Microsoft Ajax CDN distributes your JavaScript files

    # re: Announcing the Microsoft AJAX CDN

    Monday, October 12, 2009 4:47 PM by Izdelava Spletnih Strani

    Nice. I'm looking forward to ASP.NET 4.0 for easy implementing this

    # ASP.NET MVC 1.0 Scripts Available on Microsoft CDN

    Thursday, October 15, 2009 11:56 PM by you've been HAACKED

    ASP.NET MVC 1.0 Scripts Available on Microsoft CDN

    # How the Script Loader in the Microsoft Ajax Library will make your life wonderful

    Friday, October 16, 2009 6:45 AM by Microsoft's Social Web Guy

    How the Script Loader in the Microsoft Ajax Library will make your life wonderful

    # re: Announcing the Microsoft AJAX CDN

    Sunday, October 18, 2009 12:05 AM by Dave

    To all of you commenting on how awesome this is... you should look at how much code the ScriptManager object actually generates. 300KB in some cases, more if you're using lots of controls that rely on it. And if you're doing it solely for the Ajax, you are very behind. jQuery is perfectly capable of handling any Ajax requests you have, and with 19KB (plus all the other cool features), not 300. Communicates with .Net web services just fine. If Ajax communication is your need, the ScriptManager is NOT the right tool for the job. Might actually be the worst.

    # re: Announcing the Microsoft AJAX CDN

    Monday, October 19, 2009 5:02 PM by athornicroft

    Thanks for this post

    # re: Announcing the Microsoft AJAX CDN

    Tuesday, October 20, 2009 5:39 AM by sagnik

    not working within Ajax Update Panel, plz . suggest.

    # re: Announcing the Microsoft AJAX CDN

    Friday, October 23, 2009 6:43 AM by Prabir Shrestha

    It would be great if Microsoft CDN could host Syntax Higlighter - alexgorbatchev.com/.../SyntaxHighlighter

    Lot of websites uses it now, and is really cool.

    Or it would be great if Microsoft opens some website where users can recommend other scripts to be hosted in cdn along with priority, and it would allow the cdn to be expanded with the community around.

    # re: Announcing the Microsoft AJAX CDN

    Tuesday, October 27, 2009 9:50 PM by Tyson

    Are there plans to put the silverlight.js on the CDN?

    # re: Announcing the Microsoft AJAX CDN

    Friday, October 30, 2009 2:54 AM by Binoj Antony

    Well almost used the CDN, but I also need MicrosoftAjaxWebForms.js

    This is not available on the CDN, why?

    # re: Announcing the Microsoft AJAX CDN

    Friday, October 30, 2009 11:13 AM by swalther

    @Binoj -- The MicrosoftAjaxWebForms.js file is included on the CDN at:

    ajax.microsoft.com/.../MicrosoftAjaxWebForms.js

    ajax.microsoft.com/.../MicrosoftAjaxWebForms.debug.js

    This is the 3.5 version that is compatible with the Microsoft Ajax Library.

    Hope this helps!

     -- STephen

    # ScriptManager: EnableCdn=&quot;true&quot; | ??ukasz G??sior - Blog

    Tuesday, November 10, 2009 3:13 PM by ScriptManager: EnableCdn="true" | ??ukasz G??sior - Blog

    Pingback from  ScriptManager: EnableCdn=&quot;true&quot; | ??ukasz G??sior - Blog

    # Microsoft AJAX CDN &laquo; jba blog

    Sunday, November 15, 2009 9:24 PM by Microsoft AJAX CDN « jba blog

    Pingback from  Microsoft AJAX CDN &laquo;  jba blog

    # Microsoft AJAX CDN

    Wednesday, November 18, 2009 4:34 AM by Turibbio's Blog

    Microsoft Ajax CDN (Content Delivery Network) è una nuova funzionalità introdotta in Microsoft Ajax 4

    # Microsoft AJAX CDN &laquo; Rick Schott &#8211; _DOT_NET_STUFF and more&#8230;

    Pingback from  Microsoft AJAX CDN &laquo; Rick Schott &#8211; _DOT_NET_STUFF and more&#8230;

    # ASP.NET 4.0 ScriptManager Improvements

    Tuesday, November 24, 2009 12:51 AM by Infinities Loop

    .NET Framework 4 Beta 2 has been out for a little while now. There are some subtle improvements to the