To DevExpress ASP. NET component of some views

Source: Internet
Author: User
Tags browser cache

Developing with. NET should be familiar with DevExpress, a powerful feature that significantly improves development efficiency and enhances the user experience. However, it seems that most of the use of WinForm, said that the use of ASP to develop WebForm, many people speak slowly, do not consider using, and finally found that the basic is not used to develop the slow, more is subordinate or poor technology, even if they use the native control to do the site will be poor performance. Everything needs to be optimized, and unless your program only outputs Hello World, it is more necessary to optimize the code for an ASP. NET site than WinForm. Of course, if you ask for a rich client UI that has the same performance as WinForm, it's impossible to maintain the performance of native controls. After all, like Aspxgridview, a heavy-duty control with a variety of js,css resources up to 1.5M, the first load will take a few seconds to load resources into the browser cache. The resource repetition rate between controls is high, so if a control is loaded, it can significantly reduce the resource load time when other controls first open.

Once met a person using devexpress development webform, let me fall glasses is, for a set of built-in AJAX control, he unexpectedly still use submit to submit data, I asked him, you use this set of the original purpose of the control, is it just because some of the functions to achieve convenience, good interface? And the Web site that was developed was baseless assertion to further the brainwashing of other people who did not use the control: slow.

Well, originally I just learned to use this set of controls, it is true that this set of controls to understand the superficial, do not talk about optimization, learning phase spent a lot of time in figuring out how to achieve certain functions, after 1 projects after the actual combat, and later the code refactoring and performance optimization, only to realize that this set of control in the powerful function, pleasing interface , the performance is not bad. LAN does not say, even if put on the outside network, even if I put my 20M fiber limited to 2M for use, or as always smooth. Of course, for some people to use cpu+1g or 2G of memory to run the program, I can not, I just want to ask, you this configuration run win7 smooth not? Of course they will say, I run XP very smooth Ah, I can only say, you are high match, XP 512M memory is enough. It's like I'm giving you a sports car. You have to run in a pedestrian street full of people, and then spray sports car garbage speed as boring. Of course to run this set of controls smoothly, nor do you want to get a I7 grade, in my earliest i3cpu+4g memory, external network 2M Broadband, has been very smooth, Of course, I don't have a lot of hardware resources to do more tests to get the minimum configuration for smooth running. If you're working with a self-made lightweight chrome kernel browser, there's a certain boost to performance if you don't have a clutter-free environment.

So there should be a clear understanding of the use of this set of controls, not the same. Of course, I also released a real-life project to demonstrate that the present demonstration on their own host, more to reflect the true performance. After many tests, if placed on a virtual host, there will be a delay of 0.5 seconds-1 seconds. For example, to open a 20-30-control interface, the standalone host only 0.5 seconds, while the virtual host may require 0.5-1 seconds, and open an interface with about 60 controls, the independent host needs 1 seconds, and the virtual host will need 1.5 seconds-2 seconds time. The performance of the N-site ping average on a virtual host around 60ms has been significantly degraded. Of course, no enterprise will deploy the management system on the virtual host, most of the interfaces on the standalone host have a similar response speed to WinForm.

To DevExpress ASP. NET component of some views

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.