what are the ways to improve performance in .net
application?

Answers were Sorted based on User's Feedback



what are the ways to improve performance in .net application?..

Answer / rajesh sharma

. 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
. Use connection pooling.
. Use stored procedures instead of in-line SQL or dynamic
SQL.

Is This Answer Correct ?    19 Yes 1 No

what are the ways to improve performance in .net application?..

Answer / rajesh sharma

. 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.

Is This Answer Correct ?    3 Yes 1 No

what are the ways to improve performance in .net application?..

Answer / vijay saxena

Above info is correct..include few of them..
use ajax toolkit..
outputcache object

Is This Answer Correct ?    1 Yes 1 No

what are the ways to improve performance in .net application?..

Answer / gouse

1.Boxing and UnBoxing.
2.String Builder
3.‘as’ versus type casting
4.Control overflow checking
5.Using readonly versus const

Is This Answer Correct ?    1 Yes 1 No

what are the ways to improve performance in .net application?..

Answer / prem

Try to do most of burdan in client side and less server side

Is This Answer Correct ?    1 Yes 1 No

what are the ways to improve performance in .net application?..

Answer / 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

what are the ways to improve performance in .net application?..

Answer / rahul bhatnagar

You have some more technique to doing it

Use Style sheet at top of page

Use javascript at bottom of page

Use External Style Sheet/Java Script

Remove duplicate refn of java script

Use caching

Reduce no of http request

use gzip

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

Trigger syntax in sql2000

1 Answers   Wipro,


How many types cache in asp net?

0 Answers  


How do you handle session management in ASP.NET and How do you implement them. How do you handle in case of SQLServer mode?

1 Answers   DELL, Microsoft,


Who creates jsessionid?

0 Answers  


Define the steps to set up validation control.

0 Answers  






Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc

0 Answers  


How do we access view state value of this page in the next page?

0 Answers   MindCracker,


What is base class of button control in .net?

0 Answers  


All kind of access specifiers for a class and for methods ?

1 Answers   MMTS,


What is different between webconfig.xml & Machineconfig.xml ?

1 Answers  


after which page life cycle event all properties of control will be "fully loaded "

10 Answers   FactorH,


Define state managenent?Descibe state managenent technique which maintain the information at server site focusing it IDS features and limitations?

1 Answers  


Categories