I am working on a product, which works on table driven forms with asp.net, we declare the sections for a page and controls which will appear in that section. The possible values which can go into a particular control is also database driven. The basic idea is to customize the ui and the flow of application as per each client's requirement.But this approach lacks in performance. It is very slow in rendering pages on client side. Please suggest alternatives to this approach.
Personally, I would rather first try to find why and where it is slow.
Usually, running a quick performance profiler session (eg with Red Gate's ANTS Performance Profiler ) gives you ideas why it is slow.
After you found out why it is slow, you could decide whether you
if you think there is no problem with server side, selecting data from db, or some other codebehind stuff. you should check viewstate of the page and try to lower it. are you sure you dont have any problems on server side?
The flaw would be mainly in details ie actual implementation of your data-driven UI. You must profile your application to find out what is making your application slow. There can be many facets to this exercise. For example,
You can try out various things for improving performance -
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.