what are the ways to improve performance in .net
application?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / vijay saxena
Above info is correct..include few of them..
use ajax toolkit..
outputcache object
| Is This Answer Correct ? | 1 Yes | 1 No |
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 |
Answer / prem
Try to do most of burdan in client side and less server side
| Is This Answer Correct ? | 1 Yes | 1 No |
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 |
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 |
How do you pass session values from one page to another ?
What is distributed system in asp.net?
what is diference between the .net1.0 & .net2.0 ?
What's the ASP.Net Application life cycle?
Can u able to get the xml document in crystal report if yes how its possible
Why asp.net is better than php?
I have prepared A Dynamic website in asp.net with c# and using Ms Sql server 2005 as backend database.i am facing problem while uploading this site on my FTP address it is not accessing the database.please could u tell me how cn i upload Sqlserver database on the web and what would be the connection string...???? I am using Server=".";initial catalog=databasename;persist security info=false;integrated security=SSPI;...pleas help me... Thanks in Advance..
How to find last error which occurred in Asp.net ?
Can one dll file contains the compiled code of more than one .net language?
How can you change a Master page dynamically in which event of page life cycle?
About CLR, reflection and assemblies?
what is Impersonation
3 Answers Alliance One, Task Informatics,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)