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
Define static function?
Which validator control you use if you need to make sure the values in two different controls matched?
Explain the components of web form in asp.net
How many languages are supported by .NET at present time?
What is state management in .net?
if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....
How to reduce the width of textbox in editcommandcolumn of datagrid?
What is smpte vc-1?
What is custom attribute? How to create?
How to use ipostback?
How can u debug your .net application?
What are the different session state management options available in asp.net?
What is & in a url?
Which is the parent class of the ASP.NET server control?
Explain what is event bubbling?