tags:

views:

651

answers:

3

Which things i should take care to develop high performance asp.net application.

+24  A: 

The most important thing is to be sure to set

performance="11"

in your Web.config file, so that while other sites perform at 10, yours will perform one better.


Edit: Now that I've been voted up (seriously, guys?) into visibility, I feel like I should add something that's actually helpful. There are a bunch of good results for google searches on "asp.net performance." These two articles on MSDN are particularly helpful.

Iceman
You should not give out such secret tricks publicly. Do you wish everyone's site perform at the same great level or you'd rather stay superior over them?
User
I think every one should have fair chance to develop applications. You need to think about your way of presentation just like stackoverflow does lots question answer sites are there but stackoverflow site has present it in diffrent way and people like me and you like the way they present it.
jalpesh
@Jalpesh: What? Your comment made no sense.
Gabriel Florit
wow! it increased my site performance with 2500%! Thank you, man!
boj
http://mths.be/11
Mathias Bynens
+2  A: 

Look at caching opportunities. Make sure it isn't "chatty."

RSolberg
viewstate in aspnet.mvc? ... sounds new
Andrea Balducci
Trigger happy. To clarify. MVC does not have ViewState.
Diago
@Diago - You'd be surprised what you can hack together :) I read 70% of the title, next time I will read at least 80% so I see the "M" and then I might see the "VC....."
RSolberg
@RSolberg - Nice, and awesome edit! Lolz
Diago
+3  A: 

Check http://blog.whiletrue.com/2009/04/aspnet-mvc-performance/ and http://codeclimber.net.nz/archive/2009/04/17/the-performances-implications-of-the-expression-tree-based-actionlink-helper.aspx. I'm working too on a blog post about performances. Up to now just realized a simple bench tool using apache bench to compare client side rendering and server rendering using asp.net mvc and jQuery

Andrea Balducci