Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi All,

 

I was wondering about performance issues for my ASP.NET site.

 

Looking at the HTML I have a lot of ASP.NET controls such ASP image and ASP panel etc. Would my performance improve by much if say I replaced the panel for say a HTML table or is this unecessary?

 

Also is there performance improvements for disabling viewstate (which I don't use for this site) etc?

 

I would rather harness as much from ASP.NET as possible but I am worried that doing so mucxh may slow down my site.

 

For example I built an e-commerce site a while ago http://www.bigred.me.uk/JokePoint/Default.aspx which seems slow at uploading initially, this maybe the amount of ASP controls but I also suspect the web space provider may not be that good either.

 

Any discussion on this matter would be great as I am keen to get into good habits with web development.

 

Thanks, Dave. :D :D :D

Posted

Everytime you use an ASP.NET server side control you add viewstate. This viewstate has to go back to the server everytime you do a postback or submit, so to answer your question, less will improve your speed - maybe significantly. I know I had a list of objects a couple 1000 items long and by reducing the viewstate within the list I found I could load the page sigificantly faster.

 

If you're looking for a really good book about this stuff try this, it's EXCELLENT, and I TOTALLY recommend it. It's also offered on MSDN somewhere for free as an E-book. http://www.amazon.com/exec/obidos/tg/detail/-/0735618518/qid=1121782304/sr=8-1/ref=pd_bbs_1/102-5552162-2846554?v=glance&s=books&n=507846

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...