Learning ASP. NET Ajax (2) First knowledge ASP. NET Ajax

Source: Internet
Author: User
Ajax and ASP. NET

The previous article briefly introduced Ajax-related knowledge. This article describes the application and relationship of Ajax in ASP. NET.

ASP. net Ajax is a complete development framework, which works with ASP. net seamless integration, using ASP. net AJAX can easily add Ajax effects. Generally, to implement complex functions, you only need to drag several controls on the page, without having to understand the working principle in depth. In addition, Asp. net Ajax control toolkit contains a large number of independent Ajax controls and. net original server control Ajax Function Extension, implementation is also very simple. ASP. NET
Ajax programming is divided into client-side programming and server-side programming. server-side programming is simpler than client-side programming, but there is a big gap between server-side programming and client-side programming in terms of execution efficiency and controllability.

Component Diagram

The component diagram shows that the entire ASP. net Ajax is based on ASP.. net, which is further divided into Microsoft Ajax library and ASP. net Ajax extensions. Based on these two terms, ASP is developed. net Ajax Control Toolkit.

Microsoft Ajax Library

Microsoft Ajax library is a client framework in ASP. NET and is designed for client programming.

Basic Scaling

Microsoft Ajax Library Extends JavaScript and adds methods and attributes that are not available in Javascript. It also provides more content, such as the stringbuilder class and component model; it also encapsulates objects in JavaScript to implement the original functions in a simpler and more intuitive manner.

Browser compatibility layer

Microsoft Ajax library helps shield the differences between browsers so that programmers no longer need to program different browsers.

Object-oriented

Javascript is a prototype-based scripting language that does not really implement object-oriented classes, inheritance, and other features. Microsoft Ajax library encapsulates JavaScript, it provides a more intuitive object-oriented programming method to make programs easier to maintain.

ASP. NET Ajax extensions

For server-side programming, it mainly includes common scriptmanager, updatepanel, extender and other controls, scriptmanager for other ASP. net Ajax controls, through simple programming of these controls, you can achieve Ajax effect.

Ajax Control Toolkit

It is based on the extender of the server and the behavior of the client. By extending existing controls and adding JavaScript Functions to them, it is developed by the community and can easily add Ajax effects using toolkit.

Wenwei

This article is an introduction to ASP. Net Ajax and will detail the content mentioned in this article in future articles.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.