Aspnet Ajax Performance Improvement

2,798 views
2,638 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,798
On SlideShare
0
From Embeds
0
Number of Embeds
614
Actions
Shares
0
Downloads
44
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Aspnet Ajax Performance Improvement

  1. 1. Microsoft GCR CSS Ready to showPresentation<br />-- Lance Zhang<br />
  2. 2. Tech topic<br />ASP.NET AJAX Performance Improvement<br />
  3. 3. AJAX Overview<br />AJAX (asynchronous JavaScript and XML), is a group of interrelated web development techniques used for creating interactive web applications or rich Internet applications. <br />
  4. 4. AJAX frameworks<br />There are more than 100 popular AJAX Frameworks<br />
  5. 5. Performance Issues ? <br />
  6. 6. Experiment Page<br />
  7. 7. Performance Analysis<br /><ul><li>HttpWatch to show the network traffic.
  8. 8. ScriptReferenceProfiler to show the JavaScript reference.</li></li></ul><li>The Network Traffic<br />
  9. 9. The JavaScript References<br />ScriptReferenceProfiler http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=13356<br />
  10. 10. Optimization in Web.config<br />
  11. 11. Enable The Caching<br />
  12. 12. Enable The Compression<br />
  13. 13. Optimization in ScriptManager<br />
  14. 14. ScriptMode<br />Scott Guthrie‘s post:<br />Don’t leave the &lt;compilation debug=”true”/&gt;<br />It will cause:<br /><ul><li>The compilation of ASP.NET pages takes longer
  15. 15. Code can execute slower
  16. 16. Much more memory is used within the application at runtime
  17. 17. Scripts and images downloaded from the WebResources.axd handler are not cached </li></li></ul><li>EnablePartialRendering<br />EnablePartialRendering: <br />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. <br />will be16<br />
  18. 18. LoadScriptBeforeUI<br />Moving ASP.NET AJAX scripts after visible content<br />
  19. 19. Script D<br />Script Combination <br />
  20. 20. ToolkitScriptManager<br />
  21. 21. CompositeScript<br />ASP.NET 3.5 with SP1<br />
  22. 22. Summary<br />
  23. 23. Thank you!<br />&<br />Questions?<br />

×