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
How do active server pages work?
Explain the difference between debug.write and trace.write?
Explain how is a property designated as read-only?
How do I use response redirect?
What is directive in asp net?
Why asp.net is used?
Describe the application event handlers in ASP.NET?
What is meant by ispostback in asp net?
What is windows active directory authentication?
Do I need to have the latest version of windows media player installed?
Is asp.net and .net are same or different?
How does session authentication work?
What is difference between datalist and gridview?
What is server infrastructure & server components?
What are query strings used for?