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
What is http only cookie?
Why cyclomatic complexity is important?
Define the term Web Garden?
What is the mvc model?
What are the advantages and limitations of query string?
What is caching? Explain.
Explain what does wsdl stand for?
What is advantage of code behind coding in ASP.NET?
What are session cookies?
What is .net framework and what are the main components of it?
What are navigation controls? How many navigation controls are there in ASP.NET 4.0?
If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?
What is the usie of activex control in .net?
How can you implement encapsulation in asp.net?
What is the purpose of using MVC programming pattern in ASP.NET?