1 / 21

Microsoft GCR CSS Ready to show P resentation

-- Lance Zhang. Microsoft GCR CSS Ready to show P resentation. Tech topic. ASP.NET AJAX Performance Improvement. AJAX Overview.

asta
Télécharger la présentation

Microsoft GCR CSS Ready to show P resentation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. -- Lance Zhang Microsoft GCR CSS Ready to showPresentation

  2. Tech topic ASP.NET AJAX Performance Improvement

  3. AJAX Overview • AJAX (asynchronous JavaScript and XML), is a group of interrelated web development techniques used for creating interactive web applications or rich Internet applications.

  4. AJAX frameworks • There are more than 100 popular AJAX Frameworks

  5. Performance Issues ?

  6. Experiment Page

  7. HttpWatch to show the network traffic. ScriptReferenceProfiler to show the JavaScript reference. Performance Analysis

  8. The Network Traffic

  9. The JavaScript References • ScriptReferenceProfiler http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=13356

  10. Optimization in Web.config

  11. Enable The Caching

  12. Enable The Compression

  13. Optimization in ScriptManager

  14. ScriptMode • Scott Guthrie‘s post: Don’t leave the <compilation debug=”true”/> It will cause: • The compilation of ASP.NET pages takes longer • Code can execute slower • Much more memory is used within the application at runtime • Scripts and images downloaded from the WebResources.axd handler are not cached

  15. EnablePartialRendering will be16 • EnablePartialRendering: • It gets or sets a value that enables partial rendering of a page, which in turn enables you to update regions of the page individually by using UpdatePanel controls.

  16. LoadScriptBeforeUI • Moving ASP.NET AJAX scripts after visible content

  17. Script Combination • Script D

  18. ToolkitScriptManager

  19. CompositeScript • ASP.NET 3.5 with SP1

  20. Summary

  21. Thank you! & Questions?

More Related