10 ASP.NET Performance and Scalability Secrets

ASP.NET 2.0 has many secrets, when revealed, can give you big
performance and scalability boost. For instance, there are secret
bottlenecks in Membership and Profile provider which can be solved
easily to make authentication and authorization faster.
Furthermore, ASP.NET Http pipeline can be tweaked to avoid
executing unnecessary code that gets hit on each and every request.
Not only that, ASP.NET Worker Process can be pushed to its limit to
squeeze out every drop of performance out of it. Page fragment
output caching on the browser (not on the server) can save
significant amount of download time on repeated visits. On demand
UI loading can give your site a fast and smooth feeling. Finally,
Content Delivery Networks (CDN) and proper use of HTTP Cache
headers can make your website screaming fast when implemented
properly. In this article, you will learn these techniques that can
give your ASP.NET application a big performance and scalability
boost and prepare it to perform well under 10 times to 100 times
more traffic.

"http://www.codeproject.com/KB/aspnet/10ASPNetPerformance.aspx"
href=
"http://www.codeproject.com/KB/aspnet/10ASPNetPerformance.aspx">http://www.codeproject.com/KB/aspnet/10ASPNetPerformance.aspx

In this article I have shown the following techniques:

  • ASP.NET Pipeline optimization
  • ASP.NET Process configuration optimization
  • Things you must do for ASP.NET before going live
  • Content Delivery Network
  • Caching AJAX calls on browser
  • Making best use of Browser Cache
  • On demand progressive UI loading for fast smooth
    experience
  • Optimize ASP.NET 2.0 Profile provider
  • How to query ASP.NET 2.0 Membership tables without bringing
    down the site
  • Prevent Denial of Service (DOS) attack

The above techniques can be implemented on any ASP.NET website
especially those who use ASP.NET 2.0’s Membership and Profile
provider.

You can learn a lot more about performance and scalability
improvement of ASP.NET and ASP.NET AJAX websites from my book –
Building a
Web 2.0 portal using ASP.NET 3.5
.

4 Comments

  1. You are simply great and outstanding.may god bless u in achieving whatever u wnt in ur life…

  2. Dear Mehul,

    “You are simply great and outstanding.may god bless u in achieving whatever u wnt in ur life…”

    You should say

    may God bless u in achieving whatever good u wnt in ur life not evil..

  3. Bought your books about 2 weeks ago. I now read it on my way to work. It's really great. Thank you for sharing so much knowledge!

    Have to join the project on codeplex as soon as i finish reading it ;)

    Greats from Switzerland

  4. ASP.NET performance starts to bog down as you put load on it even if you have enabled caching. For heavy use and data intensive applications, use of external distributed cache becomes necessary. Organizations want to implement big ASP.NET applications and want consistent, scalable performance even at peak load times should consider third party distributed cache. There are a few that are free to use, although not feature-rich, a paid version is also available if required. NCache express is one of them.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>