Click here to Skip to main content
15,919,479 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
Hi All, Greetings,

I want to speed up the rendering of webpages i have created in my web-application. It is an ASP.NET (C#) Web Application (kind of Training management system) and taking too much time to load pages & UI Rendering.

Please suggest me the workarounds,
Thanks in advance!
Posted
Comments
Sergey Alexandrovich Kryukov 10-Dec-11 0:29am    
In my opinion, this question is too wide to answer it in Quick Questions & Answer. The recommendations can be based on each of the techniques, on selection of the technologies to be used, and when it is done, on product features and architectural detail. It is impossible to overview in a reasonably-sized single page. Well, unfortunately.
--SA

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 10-Dec-11 0:34am    
Good bunch, in your style, a 5.
--SA
Leo Rajendra Dhakal 10-Dec-11 4:31am    
Thank you sooo much
vijayjangid 10-Dec-11 6:24am    
Thanks Alot! Lots of things are there behind the scene...!
Hi,

1. Remove all the unnecessary coding in your page.
2. If you are writing JavaScript try to place them in .js file and access them. Remove all the white spaces in javascript.
3. If in your web page if you are showing only details and not doing any save/update part then disable viewstate.
4. Don't raise unnecessary events.
5. If you are retrieving large amount of data and showing them in data grid or gridview then enable paging
6. Optimize your database queries and if you are dealing with large amount of data then write some views to get data
7. If you don't require form values to be retained then disable view state
8. Don't place large amount of data in session

These are some basic things at a broader level.
There are some good articles about web app performance in chsharpcorner.com, msdn.com and codeproject.com


Hope this helps.
 
Share this answer
 
v2
Comments
vijayjangid 10-Dec-11 6:24am    
Thanks alot Sriman..!
I was looking for a list of all the factors affecting speed of rendering, you covered sought of list.
by optimization coding.
please remove unnecessery "using" i,e namespaces in your code behind.
 
Share this answer
 
Comments
vijayjangid 10-Dec-11 0:19am    
Thanks!
I have already done that, i need some other workarounds. Is there any "Unnecessory PostBacks" kind of things exist that may slow down the process?? i am just asking as i am new to ASP.NET
Sergey Alexandrovich Kryukov 10-Dec-11 0:26am    
No! You have been gravely misled. Please see my comment below.
Of course removing unused using is very good, unused referenced assemblies is even better, but it barely related to performance, and using is totally unrelated.

Be aware of false advice,
--SA
Sergey Alexandrovich Kryukov 10-Dec-11 0:24am    
This is a pure lie, so I had to vote 1.

Using name spaces cannot affect performance, ever! It does not change assembly at all. Referenced assemblies can affect it, but this is completely different from "using" which is a poor syntactic sugar. Even the list of referenced assemblies does not significantly affect performance. There are many other factors though.

Please try to avoid answering questions if you are not 100% sure, tested the solution, etc. Remember that no help is much better than harm.

--SA
shibashishmohanty 10-Dec-11 0:35am    
sorry i am not agree with your responce becz unnecessery namespace also one of the cause for rendering
Sergey Alexandrovich Kryukov 10-Dec-11 0:48am    
This is because you don't understand the process, sorry.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900