If you
don't have it, choose File System from the Location drop-down list, and specify a location somewhere on
your hard disk. (It doesn't affect the example whether you use HTTP or the file system.)
Figure 3-2. Default ASP.NET AJAX-enabled web site solution structure
CHAPTER 3 ?– THE MICROSOFT AJAX LIBRARY: MAKING CLIENT-SIDE JAVASCRIPT EASIER 33
The Microsoft AJAX Library contains three core JavaScript files that deliver clientside
functionality for your web pages. These three JavaScript files are stored as resources
in the System.Web.Extensions assembly. At runtime, the HTTP handler ScriptResourceHandler
loads the files, caches them for future use, compresses them, and sends them to the
web browser when they??™re requested. The files contain the following functionality:
??? The primary file, named MicrosoftAjax.js, contains 90% of the Microsoft AJAX
Library??™s functionality. It includes, among other things, the browser compatibility
layer, the core JavaScript classes, and the Base Class Library.
??? The second file, named MicrosoftAjaxTimer.js, contains classes needed to support
the Timer server control.
Pages:
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87