Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
Hi,
in my sample project one webpage is loading slowly every time, it takes nearly 10 to 12 sec. I put page levlel cache in that page but it takes same time. how can i improve my webpage perforamance. If any one know about this tell me.
 
Regards
Nanda Kishore.CH
Posted 11-Oct-12 2:51am
Comments
ryanb31 at 11-Oct-12 7:56am
   
We'll need a lot more details. Is it loading data from a db? Is there a lot of viewstate? Is there JS running on load?
nandkishorre at 11-Oct-12 8:08am
   
ya.. loading from database. I used view state in that page
ryanb31 at 11-Oct-12 10:00am
   
So, have you stepped through the code to see if the db access is slow or is it the actual rendering of the page that is slow?
Marcus Kramer at 11-Oct-12 10:24am
   
Have you stepped through your code in the debugger? If you do that you can step line by line until you find ones that appear to be more time-consuming than they should be. At that point, examine that line of code and see what you are attempting to do and you will find what you need to optimize.(My suspicion is that your database calls are slow either on connection to the database, or that the queries themselves need tweaking)

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

It really depends on what you have on the web page.
 
However, for .Net Application in general using profiler will help you to find the code-block which is taking time.
 
http://msdn.microsoft.com/en-us/library/ms182372.aspx[^]
 
For database, you can use various techniques to fine-tune.
http://en.wikipedia.org/wiki/Database_tuning[^]
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 304
1 Sergey Alexandrovich Kryukov 255
2 Maciej Los 250
3 Shweta N Mishra 216
4 PIEBALDconsult 174
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,586
3 Manas Bhardwaj 4,946
4 Maciej Los 4,665


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 11 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100