Tips to improve performance of Asp.Net applications developed using VB

1) Enable Option Strict and Option Explicit for your pages With Option Strict on, you protect yourself from inadvertent late binding and enforce a higher level of coding discipline. 2) Use early binding in Visual Basic or JScript code Visual Basic 6 does a lot of work under the hood to support casting of objects, and many programmers aren’t even aware of it. In Visual Basic 7, this is an area that out of which you can squeeze a lot of performance. Solution: When you compile, use early binding. This tells the compiler to insert a Type Coercion is only … Click here to continue…..

Tips to improve performance of ASP.Net Web Application

1) Turn off Tracing unless until required Tracing is one of the wonderful features which enable us to track the application’s trace and the sequences. However, again it is useful only for developers and you can set this to “false” unless you require to monitor the trace logging. How it affects performance: Enabling tracing adds performance overhead and might expose private information, so it should be enabled only while an application is being actively analyzed. Solution: When not needed, tracing can be turned off using <trace enabled=”false” requestLimit=”10” pageoutput=”false” traceMode=”SortByTime” localOnly=”true”> 2) Turn off Session State, if not required One … Click here to continue…..

Run time dynamic controls in asp.net

I don’t understand that most of the developer, why they use stringbuilder to generate run time controls on page whether they know that in this case they can’t get user inserted values by using stringbuilder. So i suggest to all developers that don’t use stringbuilder for this. Please do this by using run time generating controls as per given given by example: On the aspx page use a panel for showing controls in a proper way like this and a button for saving data in

  On the code behind aspx.cs page, you can generate all dynamic controls on … Click here to continue…..