Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
is there any way to improve the performance of asp.net web sites ,its take too much time to load after published.
Posted

It can be due to various things,you can see this article
Best Practices to Improve ASP.Net Web Application Performance
 
Share this answer
 
have a look at these, here you will get number of tips to improve asp .net website performance:
http://www.dotnetfunda.com/articles/article45.aspx[^]
http://www.realsoftwaredevelopment.com/20-tips-to-improve-aspnet-application-performance/[^]
 
Share this answer
 
There are small-small things which you can opt for.
.Net has some fundamental and advance concepts.
1.Page.Postback concept
2.View State
3.Cookies
4.Cache

which can tweak your performance as well as navigation of your site.

Lots of study material is available for you on google and e-books.

All the Best.
:)
 
Share this answer
 
Hi ,
Well it's not an easy questions because there is many ways to achieve this .
1 - For your Design you should count on Div and no tables because there is huge different in preformanace between those two , when the page load when you are using Table the page show up just in one time like it will be wait till all the content load to the Client , for Div its like First Load it just show up there is no need to wait all the Content to load and this is good for user at least he will see something loaded for him not blank page .

2 - For your Validation you must use javascript rather than using server side Validation .
3 -Using Cache can make your website too good but it depend on what kind of your website if your website have to be up to date so cache not for your website .
4 -Reducing using sessions you have to care about it because if your website got heavy load Well your server well go down (CRASHED) .
5 -Also for your viewstate Don;t use that much only when you really needed .
Hope it will help you

Best Regards
M.Mitwalli
 
Share this answer
 
Hi,

As far as validation goes, I will say do both client and server validation.
The client side validation is quick on the front end and does not require a post back to give the user a validation error message, but it is easily by passable so you want second level server validation to verify that you do not have a malicious user trying to get past your validation.

But one big one you can look at is your images. Keep your image sizes as small as possible, if you do not require HD quality images, drop a bit on the quality to lower the images size, you will be amazed what difference it makes to page loading by dropping your image sizes, also you can look at using rather 2 or 3 smaller images than one big one that has all three, so look at if it is possible to cut your images into smaller ones.
 
Share this answer
 
 
Share this answer
 
v2
a good practice if your pages have big viewstates,
is to store/retrieve them to/from database

search for

protected override object LoadPageStateFromPersistenceMedium()
protected override void SavePageStateToPersistenceMedium(object state)
 
Share this answer
 

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