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
in which protocol ASP.NET WEB API Work?
Is asp.net outdated?
Define a static class?
What are different methods of session maintenance in asp.net?
Which is faster viewdata or viewbag?
How tooltip is set through code-behind in ASP.NET?
How do you declare static variable? What is its lifetime?
How does asp page work?
Do you support digital rights management to protect my videos?
What type of code, client-side or server-side, is found in a code-behind file of a Web page?
What are server-side comments in ASP.NET?
What do you mean by caching in asp.net?
Explain serialization and deserialization?
Web API supports which protocol?
To bind columns manually which tags do you need to add within the asp:datagrid ?