16.3. Using a Different Platform

The Microsoft AJAX Library is available in a standalone zip file. It includes the scripts that are sent down to the browser to enable AJAX functionality. You can deploy these files to any Web server on any platform. As already discussed, script files are not versioned like a binary file is, so the zip file includes a path with version information. If you follow this convention when deploying the files, you can easily migrate to a new version of the AJAX Library when it becomes available. The versions are backward compatible, so you can also run one version of scripts alongside a newer version if some new behavior or change requires updating code. This versioning is helpful in making it easy to switch between versions after validating functionality and features. This is particularly useful in ensuring a smooth transition when updating an existing application with features found in a new release.

When it comes to deployment, if you aren't using any of the server features of ASP.NET AJAX, you could just put the Microsoft AJAX Library JavaScript files on the server and have them downloaded to the browser.

The three library files all come in release and debug versions:

  • MicrosoftAjax.debug.js

  • MicrosoftAjax.js

  • MicrosoftAjaxTimer.debug.js

  • MicrosoftAjaxTimer.js

  • MicrosoftAjaxWebForms.debug.js

  • MicrosoftAjaxWebForms.js

The release also includes a large set of files in a Globalization subdirectory for greater reach. Localized versions of error messages and warnings ...

Get Professional ASP.NET 3.5 AJAX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.