Microsoft Ajax library namespace
Client namespace description
Extended internal classes of globaljavascript, such as array, Boolean, String, error, number, and Object
Sys root namespace, which is in the client and.. NET Framework. This namespace includes some basic classes, such as application and stringbuilder ., there are also some useful interfaces, such as idisposable and inotifypropertychange
SYS. NET is used to execute network-related classes, such as webqequest and xmlhttpexcutor. This namespace virtualizes Client/Server Communication.
SYS. serialization serializes objects between the client and server
SYS. webforms includes the ability of Asp.net Ajax and partial webpage delivery. For example, it includes the pagerequestmanager class.
SYS. UI contains features related to user interfaces, such as users, controls, and enumeration.
SYS. Service provides access to Asp.net server services, such as identity authentication and Configuration Services.
The javascript in the MS Ajax library is designed to imaging the way C # works. Client programming is like using C # Code Program on. NET Framework.
For example:
Working principle: the web project created using the Asp.net Ajax-enabled web site template ensures that all Asp.net Ajax references can be included in the web. adding scriptmanager in config makes sure that Asp.net Ajax downloads the JavaScript files in the required Microsoft Ajax library. These files will then define the object model in the Custom JavaScript code block.
Server namespace and its description
Using Sw = system. Web
Description of the server namespace
Sw. configuration provides parts related to Asp.net Ajax in Web. configProgramLevel-1 Access
Sw. Handlers optimized acquisition of script downloads
Sw. Script. serlialization provides scalable JSON serialization and deserialization Functions
Sw. Script. Services defines the class for calling Web Services
Sw. UI contains management functions and network communication code, as well as the required server controls and control design programs
Server controls contained in Asp.net Ajax
Control name control description
Scriptmanager is invisible during running, which is required for each web form that enables Asp.net Ajax. Command and management client scripts. Only one instance of this control is allowed on each page.
Scriptmanagerproxy is invisible during runtime. If the master page contains the scriptmanager control and the Content Page wants to use the Ajax function, you must use the control and scriptmanager script management on the Content Page.
Updatepanel any control in updatepanel can simply send back Ajax-style parts.
Updateprogress displays a status bar to give you feedback when running a long Ajax request.
Timer precisely processes client events by Time Interval
next article: VC automatically configures the data source