Skip to Content

TheBlogReaders.com

Salesforce.com, PHP, MySQL, Javascript, Ajax, Htacces

DotNet Application Development – Simple Steps To Enhance The Performance Of Your .NET Application

Be First!
by September 23, 2015 .NET

.net.Net Application Development  for the purpose. You need to be well aware of the factors that can make your application perform slowly or quickly. A lot of parameters or sometimes even a single parameter can influence the performance of your .net application. Getting these parameters right one can definitely ensure the maximum application performance. This article highlights a few essential steps which can boost up the performance of a Dot Net application drastically to give better results.

Turn Off the View State When Not Necessary
View state is the name given to the state data of the page that is stored on it in form of a hidden field when generated. Whenever a page is loaded or posted back on the server, the view state details of the page are applied to it. View state increases load of the page and increases memory allocations on the server. Many server controls like DataGrid make use of view state details even when it’s not necessary. Hence, for the pages of the web application that do not have server post back events it is better to unable the view state or set it off.

Avoid Session State if Possible
A DotNet application by default stores session state data for users. Session state is managed at the cost of memory and is mainly useful for dynamic applications like shopping cart in ecommerce site. Hence, in cases where application is static there is no need to maintain session state data and hence, can be avoided in order to enhance the performance of the application.

Use Less Images and Graphics
Never overuse images or graphical content in your application as they take more time to download thereby effecting the performance of your application.

Turn Off Debugging
The option called debug is always set to true by default when an application is created. This causes the processing of the application to slow down. So, set this debug value to false in web.config.

Replace String Builder command with String
When we use String function for concatenation, it will create a new string storage location every time instead of using the same space. Hence, it requires more memory. Using String Builder will allocate only one location and hence, only one reference for the string would be created.

 

(232)

Previous
Next

Leave a Reply