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
What is web api and why to use it?
What is mvc in angular?
What is state management react?
Which namespace is used by ado.net?
Explain what is viewstate?
What is loop in asp.net?
What is is post back property in asp net?
What are the advantages and disadvantages of session?
What is event bubbling?
What is the life cycle of an asp.net page?
What is authorization in asp.net?
What is asynchronous call?
Define view state.
What are the cookies types in asp.net?
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?