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

  • Satisfactory Essays

    NT2670 Week2 Research 3

    • 752 Words
    • 3 Pages

    Internet Server Application Programming Interface (ISAPI) is a set of Windows program calls that let you write a Web server application that will run faster than a common gateway interface (CGI) application. Using ISAPI, you create a dynamic link library (DLL) application file that can run as part of the Hypertext Transport Protocol (HTTP) application's process and address space. The DLL files are loaded into the computer when HTTP is started and remain there as long as they are needed; they don't have to be located and read into storage as frequently as a CGI application.…

    • 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

    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
  • Powerful Essays

    P2: Explain the user side and server side factors that influence the performance of a website.…

    • 1306 Words
    • 4 Pages
    Powerful 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

    The IISLockdown tool helps you to automate certain security steps. IISLockdown greatly reduces the vulnerability of a Windows 2000 Web server. It allows you to pick a specific type of server role, and then use custom templates to improve security for that particular server. The templates either disable or secure various features. Note By default, IIS 6.0 has security-related configuration settings similar to those made by the IIS Lockdown Tool. Therefore you do not need to run the IIS Lockdown Tool on Web servers running IIS 6.0. However, if you are upgrading from a previous version of IIS (5.0 or lower) to IIS 6.0, it is recommended that you run the IIS Lockdown Tool to enhance the security of your Web server.…

    • 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
  • Powerful Essays

    Kudler Fine Foods Website

    • 2245 Words
    • 9 Pages

    References: Core Download, (2007). The Importance of Performance Testing for Websites . Retrieved September 17, 2007, from www.coredownload.com Web site: http://www.coredownload.com/articles/read-article-49-The-Importance-of-Performance-Testing-for-Websites-/…

    • 2245 Words
    • 9 Pages
    Powerful Essays
  • Better Essays

    Evaluating Websites

    • 884 Words
    • 4 Pages

    References: Grand Canyon University Tutorials (GCU-T). (no date). Evaluating Websites. Retrieved on January 19, 2011 from http://tutorials.gcumedia.com/evaluatingWebPageContent/interactiveIndex.html…

    • 884 Words
    • 4 Pages
    Better 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
  • 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
  • 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