Preview

ASP.NET Performance and Scalability Improvements

Good Essays
Open Document
Open Document
3820 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
ASP.NET Performance and Scalability Improvements
Performance can be a key factor in a successful Web site or project. This topic provides guidelines for improving performance of a site as well as links to best practices documentation.
Page and Server Control Processing

The following guidelines suggest ways to work with ASP.NET pages and controls efficiently.

Avoid unnecessary round trips to the server In some situations, you can use Microsoft Ajax and partial-page rendering to accomplish tasks in browser code without performing a full postback. For example, you can use Ajax features to validate user input in the browser before the input is submitted to the server. For more information, see Microsoft Ajax Overview and Partial-Page Rendering Overview.

If you develop custom server controls, consider designing them to render client script for some of their functionality. This can significantly reduce the number of times that information is sent to the Web server. For more information, see Developing Custom ASP.NET Server Controls and Creating Custom Client Script by Using the Microsoft Ajax Library.

Use the Page object's IsPostBack property to avoid unnecessary processing Avoid running code on each postback if it only has to run the first time the page is requested. You can test the IsPostBack property to conditionally execute code depending on whether the page is running in response to a server control event.

Leave buffering on unless you have a specific reason to turn it off There is a significant performance cost for disabling buffering of ASP.NET Web pages. For more information, see the Buffer property.

Use the Transfer method of the Server object or use cross-page posting to redirect between ASP.NET pages in the same application For more information, see Redirecting Users to Another Page.

State Management

The following guidelines suggest ways to make state management efficient.

Save server control view state only when it is required View state enables

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Unit 3 Case 3

    • 499 Words
    • 2 Pages

    DotNetNuke uses a three-tier architecture model with a core framework providing support to the extensible modular structure. When deployed, which can be extended using pluggable modules and providers that enable additional functionality; the look and feel of individual sites can be customized using skins. As opposed to traditional web applications that may rely on a multitude of web pages to deliver content, DotNetNuke uses a single main page called Default.aspx. The content for this page is generated dynamically by using a tabID value to retrieve the skin and modules needed to build the page requested, from the DotNetNuke database. It is Used by end-users to create dynamic and interactive websites and by developers to create application functionality.…

    • 499 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    And also I have learned how to create ASP.NET controls. There are different controls of ASP.NET. They are: ASP. Textbox, ASP. Gridview, ASP. Detailsview, ASP. Rotator:…

    • 485 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT2670 Week2 Research 3

    • 752 Words
    • 3 Pages

    The decision of when to use SSI, and when to have your page entirely generated by some program, is usually a matter of how much of the page is static, and how much needs to be recalculated every…

    • 752 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    In order to test your IIS server implementation you decide to create a test web site using HTML. Your Senior Administrator suggests you familiarize yourself with some basic HTML tags before you begin.…

    • 242 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Pt1420 Unit 7 Analysis

    • 737 Words
    • 3 Pages

    Before I have examined to answer why do we think most web pages today require server side programming? Particularly meaningful to me toward defense entirely regarding the server side programming Characteristics, since there is a few common component of server side programming besides the technology we practiced which perform by:-…

    • 737 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Instead, be as specific as possible about what you want people to do. What kind of information do you expect them to want next? How do they get it from you -- by going to a specific section of your website or calling a specific person on your staff?…

    • 411 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Week 5

    • 585 Words
    • 3 Pages

    What issues can arise with the use of JavaScript® language along with server-side programming, such as .NET? What issues does the programmer need to be aware of when developing in both languages?…

    • 585 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Ajax Case Study 2

    • 653 Words
    • 3 Pages

    The need for this project is due to the decision by Ajax to upgrade their software system and they are uncertain which would be the best method to proceed. The goal for Ajax is to automate their production planning and control system. While the case study does not clearly state the reason it is safe to assume that the new system would be expected to increase productivity and maintain control of the production system.…

    • 653 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Information Technology

    • 389 Words
    • 2 Pages

    Update your server with the latest service packs and patches. You must update and patch all of the Web server components including Windows 2000 or Windows Server 2003 (and IIS), the .NET Framework, and Microsoft Data Access Components (MDAC).…

    • 389 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Web server-software that stores web pages and web objects, listens for requests for those pages, and sends the content of those pages/objects to clients.…

    • 483 Words
    • 2 Pages
    Powerful Essays
  • Good Essays

    Jharna Software

    • 896 Words
    • 4 Pages

    External users at later stage. Min loading time of web apps by keeping graphics content low…

    • 896 Words
    • 4 Pages
    Good Essays
  • Good Essays

    IMPROVING PERFORMANCE

    • 1110 Words
    • 3 Pages

    So I’m going to give an example within my team that happened few months ago. One of the guys started to change his behavior. Wasn’t smiling to the customers, was working slowly and calling sick very often. This affected all of us, not only is the attitude harmful to the one of them individually, affects all of us and it impacts directly the productivity levels, and sometimes the general performance of the company.…

    • 1110 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Opnet Lab

    • 295 Words
    • 2 Pages

    1. Analyze the result we obtained regarding the HTTP page response time. Collect four other statistics, of your choice, and rerun the simulation of the simple and the busy network scenarios. Get the graphs that compare the collected statistics. Comment on these results.…

    • 295 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    In our project we intend to apply the use of window service and create a window form using Visual Basic.net and Visual Studio 2010. The project will include the following features:…

    • 356 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Over the years, a number of web servers have been written. Apache is one of the oldest, most widely used web servers in use today .It was implemented with a scaling mechanism that works, but is relatively inefficient in some ways. Since that time some newer web servers have come out that attempt to address some of the shortcomings of Apache. The most prominent among those are Sun, Nginx and Google. This web servers are examine the relative performance of each web server to see how they compare head-to-head. There are some variables not taken into account that probably should be. The point is to simply give a relative performance comparison under common conditions. Apache, Microsoft IIS, and ngninx are currently the three most popular web servers in use. Google Web Server is another one in the top of any usage survey; however it is not available for end-user use. Google's server software is only used only Google-based websites and sites using Google apps during the Netcraft's April 2013 survey results.…

    • 5205 Words
    • 21 Pages
    Powerful Essays