Geeks With Blogs
Ashraf Abdallah blog

There is several factors can affect the performance of an ASP.NET application

1) Page settings. in a @Page directive in their source code. Settings

that can affect performance and scalability such as :

  Debug. For production sites, this setting should be false to enable batch compilation and

remove the overhead caused by additional debugging information. For pages with no specified

debug value, the setting is determined by the value of the debug attribute of the compilation

element in the site.s Web.config file.

  Buffer. This should generally be set to true to optimize responses to clients. For pages with no specified buffer value, the setting is determined by the value of the buffer attribute of the pages element in the site.s Web.config file.

 

2)Threading. When an ASP.NET application blocks threads, such as when using asynchronous functionality or making Web service calls, the requirement for threads can exceed the number of threads available in the ASP.NET thread pool. This leads to thread starvation problems that negatively affect performance and scalability.

3) Page size. Pages that contain large or multiple images result in increased network traffic and slower load times than simpler, mostly text-based pages. Additionally, large numbers of server controls, especially complex controls such as Data Repeaters, can dramatically increase the size of a page.

 

4) Requests. Reducing the number of requests submitted to an ASP.NET application, and the amount of processing they require, will inevitably improve its performance and scalability. You can reduce request processing overhead by:

  Setting the AutoPostBack property of controls to false when immediate server-side processing is not required.

  Using Server.Transfer instead of Response.Redirect to transfer the user to a new page.

  Reducing the number of referenced resources (such as scripts and images).

5) Caching. Appropriate caching can have the single biggest impact on ASP.NET application

Performance and scalability. The use of output caching can significantly improve the performance of frequently accessed pages and user controls, and appropriate use of the cache API can reduce the performance overhead associated with accessing external resources such as data or files.

Posted on Wednesday, May 3, 2006 4:41 PM Web development | Back to top


Comments on this post: Increase ASP.NET Application Performance

# re: Increase ASP.NET Application Performance
Requesting Gravatar...
Nice subject Ashraf
Left by Mo'men Mosa Omar on May 04, 2006 6:14 AM

# re: Increase ASP.NET Application Performance
Requesting Gravatar...
it was great. i was need this
Left by Douglas on May 04, 2006 6:15 AM

# re: Increase ASP.NET Application Performance
Requesting Gravatar...
Ashraf could you tell me more about this . it is a perfect subject
Left by Jabbar on May 04, 2006 6:19 AM

# re: Increase ASP.NET Application Performance
Requesting Gravatar...
Ashraf could you tell me more about this . it is a perfect subject
Left by Jabbar on May 04, 2006 6:19 AM

# re: Increase ASP.NET Application Performance
Requesting Gravatar...
I found these info very helpful
Left by loai Al-shaksheer on May 04, 2006 6:25 AM

# re: Increase ASP.NET Application Performance
Requesting Gravatar...
thanks Ashraf
Left by Yousef on May 04, 2006 6:37 AM

# re: Increase ASP.NET Application Performance
Requesting Gravatar...
go forward
Left by Samer on May 04, 2006 7:39 AM

Your comment:
 (will show your gravatar)


Copyright © Ashraf Abdallah | Powered by: GeeksWithBlogs.net