11.2. Installation

A number of Visual Studio 2010 project templates such as ASP.NET MVC 2 and ASP.NET web application projects include the Microsoft AJAX libraries out of the box. The libraries will, however, be maintained separately from Visual Studio/.NET 4.0, so to obtain the latest release, you will need to download it from http://ajax.codeplex.com/.

11.2.1. Adding Microsoft AJAX Libraries to Your Project

The easiest (but not necessarily best) way to include the Microsoft AJAX libraries in your project is to use the ASP.NET ScriptManager control on your page:

<asp:ScriptManager runat="Server" />

ScriptManager is a great little control that takes care of referencing Microsoft script files and helps you manage your own scripts. In previous ...

Get Introducing .NET 4.0: with Visual Studio 2010 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.