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
Describe the difference between inline and code behind - which is best in?
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
Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
What is class and object in asp.net?
How can I create master page in asp net?
What are validator? How do you disable them?
What are the different types of proxy patterns?
What is latest version of asp.net mvc? : Asp.Net MVC
What is base class of .net?
What is asp short for?
What are the contents of cookie?
What are the authentication types in asp.net?
How can I configure asp.net applications that are running on a remote machine?
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
explain code with datachaching with example