However, it is important to note that although the
AJAX Library can be used without the ASP.NET 2.0 AJAX Extensions, there are aspects
of the library that work in conjunction with ASP.NET 2.0 to make client-side development
even easier and more productive. An example of this is the ability to leverage the
ScriptManager server control to make the retrieval of the correct version of a localized
JavaScript file automatic.
The Microsoft AJAX Library and Web Services
The AJAX Library has a client-side networking stack built upon the XMLHttpRequest object
that provides access to server-based functionality. Although designed to access ASP.NET
ASMX (Active Server Methods) web services, it may also be used to access static web
content. This functionality is supported via classes within the Sys.Net namespace.
These classes, designed to work across all of the major browsers, abstract the use of the
XMLHttpRequest object and provide a consistent programming model that allows you to
build AJAX applications that access web resources regardless of the platform they are
running on.
Pages:
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77