ASP. NET future: simplified development, HTML5 and performance improvement-for the future

Source: Internet
Author: User
Tags openid

At last month's PDC 09 conference, Jonathan Carter and Scott Hunter from the Microsoft ASP. NET team demonstrated some features designed for ASP. NET Versions later than 4. Their main direction was to simplify applications.ProgramDevelopment, support for web standards, and improve performance.

The ASP. NET team is considering the following features to simplify application development:

1. It can be used for Action record mode support of ASP. net mvc and webforms. Based on Entity Framework, it facilitates rapid modeling and development.

2. More easy-to-use Route rules: the routing target and related parameters can be automatically determined based on various information (such as the file path on the hard disk.

3. scalable auxiliary methods based on common tasks/scenarios, such:

· Image processing, such as scaling and watermarking.

· Openid support, so that developers can easily integrate ASP. NET authentication with openid.

· Scheduled tasks in the background, such as running a task every 10 minutes or at every day.

· Email sending and registration process using email for verification.

Real File Upload progress prompts. Currently, some dangerous skills are required to implement this function. In the future, ASP. NET may release more interfaces for support.

HTML 5 brings many new features, such as new HTML tags, native video and audio support, and drag-and-drop operations. In the future, ASP. NET will first support more semantic tags in HTML 5. For example, in ASP. NET 2.0, the control will generate a complex table tag, in ASP. net 4 will become uL/IL nesting in line with the current semantics, and in the future ASP.. net.

In addition, the web storage function of HTML 5 allows you to store data in a browser. In the future, the Microsoft Ajax library will provide an optional intermediatedatacontext to replace the current adonetdatacontext, the latter stores data on the server through the WCF interface, while the former stores the data locally.

 

In terms of performance improvement, the ASP. NET team will provide various providers for ASP. NET after Microsoft's distributed cache velocity is released. In this way, ASP. NET can store various information such as data cache and session Status in the distributed cache outside the process to achieve better performance and robustness. These provider implementations can be well integrated with ASP. NET's existing extension methods, and are transparent to developers.

As web applications are becoming more and more effective, the importance of browser performance optimization increases. In the future, ASP. NET will compress and merge built-in CSS or JavaScript files, and provide support for complex optimization methods such as CSS Sprites. The Optimization Principle of CSS Sprite is to combine a large number of small images on the page into a file, and then use the CSS positioning mechanism to display part of the file, the advantage of doing so is that it greatly reduces the number of communications between the browser and the server, and usually significantly improves the page loading speed. ASP. net will automatically merge a group of images according to the needs of developers in the future, and expose the information (such as position and size) of a single image through some interfaces, even HTML tags containing specific attributes are generated directly on the page.

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.