what are the ways to improve performance in .net
application?
Answer Posted / rajneesh
all above is fine
. Avoid round-trips to server. Perform validation on
client.
. Save viewstate only when necessary.
. Employ caching.
. Leave buffering on unless there is a dire need to disable
it.
. Use connection pooling.
. Use stored procedures instead of in-line SQL or dynamic
SQL.
use ajax toolkit..
outputcache object
Boxing and UnBoxing.
String Builder
‘as’ versus type casting
Control overflow checking
Using readonly versus const
Try to do most of burdan in client side and less server side
user datareader compare dataset if dataset not need.
user try,catch,finally(for close connection)
now new concept in 2.0,3.0,3.5 for performance
Partial class
Generic class
Generic collection
anonymous method
lambda express
var
extension method
Rajneesh Hajela
Gwalior(M.P.)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between asp & asp.net.
Can you change a Master Page dynamically at runtime?
Is session stored in browser?
What is difference between asp.net and asp?
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?
Explain difference between dataset and recordset?
What a diffgram is, and a good use for one?
Which is the parent class of the web server control?
What is the exact purpose of http handlers?
What is difference Between Authentication and authorization?
What is postback and autopostback in asp.net?
Elaborate differentiation between Cache and Application?
How many types of cookies are there in asp.net?
How can we call webservices in Banking Applications? and where we are using it?
Where would you use an ihttpmodule, and what are the limitations of any?