ASP. NET development is simpler and the performance will be greatly improved

Source: Internet
Author: User
Tags openid

ASP. NET 4 will be widely used in simple development, making it more suitable for rapid development and various scenarios. At the same time, some new features of HTML 5 will greatly improve the performance.

Microsoft ASP. jonathan Carter and Scott Hunter from the NET team demonstrated ASP. some functions designed in Versions later than NET 4 are designed to simplify application development, support Web standards, and improve performance.

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

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.

  • Implementation of ASP. NET development mode and MVC Mode
  • Introduction to ASP. NET development
  • Analysis of Theme functions in ASP. NET development skills
  • Analysis on the establishment of ASP. NET development environment
  • Some Suggestions on Web standards in ASP. NET development

Easier-to-use Route rules: automatically determines the Route target and related parameters based on various information such as the file path on the hard disk.

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.

A background scheduled task, for example, a task is executed 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. in. NET 2.0, the <asp: Menu/> Control generates complex table tags. NET 4 will become ul/il nesting in line with the current semantics, and in the future ASP.. NET, the <menu/> tag may be generated. 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 of a single image, such as position and size, 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.