Hi friends,
I have included a simple tips below that helps to tune a performance in an asp.net page
-->Turn off Tracing unless until it is required: Enabling tracing adds performance overhead and might expose private information, so it should be enabled only while an application is being actively analyzed. It should be turned off unless you require monitoring the trace logging.
-->Minimize the Use of Format () When you can, use toString () instead of format (). In most cases, it will provide you with the functionality you need, with much less overhead.
--> Design with ValueTypes Use simple structs when you can, and when you don't do a lot of boxing and unboxing.
-->Avoid using unmanaged code
--> Store your content by using caching: ASP.NET allows you to cache entire pages, fragment of pages or controls. You can cache also variable data by specifying the parameters that the data depends. By using caching you help ASP.NET engine to return data for repeated request for the same page much faster.
--> Use Foreach loop instead of For loop for String Iteration
--> Disable View State of a Page if possible View state is a fancy name for ASP.NET storing some state data in a hidden input field inside the generated page. When the page is posted back to the server, the server can parse, validate, and apply this view state data back to the page's tree of controls.
|
| Author: madhavi 10 Jun 2008 | Member Level: Bronze Points : 0 |
Hi,
good one...
|
| Author: muthuvasagan 13 Jun 2008 | Member Level: Silver Points : 0 |
HI this is 4 useful information.
|
| Author: Jessie 16 Jun 2008 | Member Level: Gold Points : 0 |
Avoid unnecessary white spaces in html.
|