Microsoft's Ajax path: JSON of ASP. NET AJAX

Source: Internet
Author: User

Behind the sudden Ajax (Asynchronous JavaScript And XML) industry boom is the increasing interest in frameworks that can handle complex network application development issues. At present, Microsoft is focusing on ASP. net ajax Extensions (known as Atlas) Development and has entered the testing stage. It is estimated that it will be officially released this year.

Fritz Onion, a technician at Microsoft, said that the new feature in ASP. net ajax Extensions and related toolboxes is improved Web service processing functions and JSON-based serialization. This is what Onion mentioned in his speech at VSLive 2006 in Boston this week.

For. NET developers, the most valuable performance of the software may be the addition of an intermediate layer between the user and the server to ensure that the Ajax application works on different types of browsers. Onion says this hierarchical browser has very powerful performance.

He said, "ASP is used in a specific browser. net ajax Library extensions, you can complete the client JavaScript code, so when you use different browsers to browse the page, you do not need to worry that they will destroy the running of the application."

Among the elements developed by Microsoft for the Ajax framework, the core is the added javascript, including the declared name and some classes with abstract functions. Similarly, some help classes, such as StringBuilder, can also be generated by. NET.

JSON serializer

With ASP. net ajax Extension, Microsoft chose JSON to implement data exchange on the server and Ajax client. The company implements (data) serializers and parsers on both the client and server to exchange data in JSON format. This provides a method for the browser to send a WebService request to the server. It also provides an asynchronous communication layer to connect a browser to a network terminal.

"I think this Web service [proxy server performance] is one of the most striking features of ASP. NET AJAX ." Onion. "It can generate a JavaScript class that transmits data to the ASMX terminal. This feature masks an important fact that Ajax does not refer to XML. Ajax uses XML and XSLT for data exchange and related operations ."

"ASP. net ajax provides ASMX terminal serialization capabilities. You can serialize data to JSON, SOAP, or XML format ." Onion said at the same time, he added that "there is a lot of work using JSON serializer ."

At the same time, the ASP. net ajax toolbox also supports Update Panel Control, which enables ASP. NET developers to perform a lot of "AJAX" work in a familiar scope.

Update Panel Control supports partial page replication and has Ajax-style features without the need to write specific client scripts. In terms of Update Panel Control, Onion thinks: "This is similar to Ajax running on an ASP. NET terminal ." However, he reminded everyone that this function is not available anywhere.

Return JS drawing board

Similarly, behind the great attention to Ajax, it is actually a strong interest in rebuilding JaveScript. As in other cases, the framework can help developers reduce the complexity of their work, but it does not mean that developers can use this as an excuse not to understand what is happening outside of the surface. The framework reduces the workload but cannot replace the developer's location.

Like all Java languages, ASP. NET developers also need to constantly improve their JavaScript skills.

"Anyone who wants to use Ajax must master a wide range of JavaScript language skills," Fritz Onion said. This is exactly what Onion has learned.

"JavaScript is very interesting," he said. "JavaScript is a language that can make web pages live. You can't do it, just think of it. Therefore, in the JavaScript programming process, we must not only be very careful, but also ensure that there are good ideas ."


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.