Improve the performance of an ASP.NET application

前端 未结 7 539
离开以前
离开以前 2020-12-29 00:32

How to improve the performance of an ASP.NET application? Which are are the fields I should take care? The application includes DB connections and Image Parsing etc.

相关标签:
7条回答
  • 2020-12-29 01:05

    Here's an excerpt from the book Jeff, Phil, and K. Scott Allen wrote: 8 ASP.NET Performance Tips. It's a few years old, but most of it's pretty timeless.

    My checklist:

    1. Find out what's slow by testing
    2. Cache what you can (application cache, output cache, etc.)
    3. Reduce page size (eliminate viewstate, compress images, use CSS instead of inline styles, etc.)
    4. Find out which external dependencies are slowing you down (worst queries, webservices, etc.).
    5. Offload processing to the client (jQuery for filtering vs. round trips to the server to server to re-query)
    0 讨论(0)
提交回复
热议问题