CAN u Please Provide me any code optimization Techniques in C#
Can Anyone Plese Provide me Code Optimization Techniques from which i can learn them like any links or books or anuthing that may be useful
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SenthilkumarPosted Feb 28, 2012, 9:13 AM
2) use the break when ever it meets criteria...
3) Do not use the more objects. it will take more space
4) Do not use the try catch in hirarchy.. use in lower boundary level
5) use caching techniques
6) Try to use the data reader rather than dataset
7) try to avoid unnecessary roundstrips
8) use the javascript for validation and Ajax for improve the performance
9) Do not use more session variables
10) Try to do some business logics in the stored procedure
11) Do not store more values in the view state
12) Try to use the custom paging and load the pagination data on demand
13) Try to delete the multiple records in single request
14) Use the css layout rather than table layout. It will render fastly
15) Do not use more images in the web pages
Suthish NairPosted Feb 19, 2012, 12:42 PM
Mamta MPosted Feb 17, 2012, 12:36 AM
http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882
http://www.amazon.com/Refactoring-Improving-Design-Existing-Code/dp/0201485672/ref=pd_sim_b_4
http://www.amazon.com/Code-Complete-Practical-Handbook-Construction/dp/0735619670/ref=pd_sim_b_1
http://www.garshol.priv.no/blog/105.html
http://www.google.co.in/url?sa=t&rct=j&q=optimization%20of%20code&source=web&cd=2&sqi=2&ved=0CC4QFjAB&url=http%3A%2F%2Fdragonbook.stanford.edu%2Flecture-notes%2FStanford-CS143%2F20-Optimization.pdf&ei=COc9T6GBMerhmAWJg_zQBw&usg=AFQjCNHZPIfHrENxAzjuLhMXuVEFoMH5Rg&cad=rja