Develop high-performance ASP. NET websites (1)

Source: Internet
Author: User

Developing High Performance ASP. NET websites (1st)

 

The following days I'm going to write a series of blog articles about developing high performance ASP. NET websites.

Almost no clever or technically challenging concepts in these articles, because the premise behind the ideas presented in these posts are that they must be:

  • Dang near effortless
  • Require very little expertise
  • Leverage built-in. NET features or tools
  • Easy to maintain
  • offer decent bang for your buck

    n Improving query performance

    carefully designing the database; for example, having indexes on the columns used in

    table joins significantly improves query performance.

  • A basic understanding of SQL Server indexes shoshould be known by all to help you in your development. adding the proper indexes to your tables can help keep your application discovery well long after hundreds and thousands of records have been added to the tables. use query analyzer to display the execution plans of your most active queries and stored procedures so you can tune SQL Server and create the indexes wisely. best to wait and add indexes toward the latter part of the project after you have a feel for the way the data is queried and consistently tune and reindex your application after you make new enhancements.

    NSpeeding up ASP. NET pages

     A good user interface and business layer that eliminate excessive round trips between other tiers in your applications.

    To speed up you ASP. net pages, you want to look at a minimum of 3 things: 1) Fetch page processing, 2) Fetch page sizes, and 3) Faster page rendering. much of the page processing time can be partitioned CED using tricks we mentioned before, such as caching, eliminating chatty interfaces, and preferring HTML tags over ASP. NET Web controls. page sizes can be filtered by referencing the file sizes of HTML, images, JavaScript, And the ASP. net viewstate. for faster page rendering, use CSS to eliminate tables to improve performance.

    NPage tracing to profile your ASP. NET pages

     

    For more see: http://davidhayden.com, Author: David Hayden

    By injecting customTrace. WriteOrTrace. WarnMessages into your page code, you can get finely grained performance information on specific tasks occuring during the lifecycle of the page as well as measure the impact of caching and varous other performance techniques.

     

    NA good user interface and Business Layer

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.