Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain the difference between asp & asp.net.

1018


Can you change a Master Page dynamically at runtime?

956


Is session stored in browser?

966


What is difference between asp.net and asp?

1039


Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?

1258


Explain difference between dataset and recordset?

1040


What a diffgram is, and a good use for one?

992


Which is the parent class of the web server control?

1054


What is the exact purpose of http handlers?

1009


What is difference Between Authentication and authorization?

1134


What is postback and autopostback in asp.net?

1005


Elaborate differentiation between Cache and Application?

967


How many types of cookies are there in asp.net?

946


How can we call webservices in Banking Applications? and where we are using it?

2080


Where would you use an ihttpmodule, and what are the limitations of any?

1012