110 likes | 272 Vues
This comprehensive guide discusses caching techniques and the integration of AJAX in ASP.NET 2.0. It covers the basics of caching, including its features such as page-level output caching and polling. You'll learn about the performance benefits of caching in web applications, and the differences between caching and AJAX functionalities. The guide also includes a demonstration of an ASP.NET sample website utilizing both caching and AJAX, enhancing server-side performance and reducing communication overhead. References to further readings are provided for more in-depth understanding.
E N D
ASP.NET 2.0 Caching Techniques+ Ajax Overview Rahul Deshmukh CIS 764 – Database Design
Outline • Basics of Caching • Caching Features in ASP.NET 2.0 • Performance difference by using cache • ASP.NET Ajax Architecture • Difference between Caching and Ajax • Demo of ASP.NET Sample website that using Cache Ajax Website • References • Questions
Basics of Caching • Cache Memory – Faster than main memory • CPU Cache – L1, L2 • Disk Cache • Other Cache – Database Cache, Web Server Cache
Caching Features in ASP.NET 2.0 • Page Level Output Caching • ASP.NET 2.0 Polling to SQL Server 2000/2005 • Broker Service Notification in MS SQL 2005 • Partial Page Caching • API Caching
Difference between Caching and Ajax • Reduce the communication overhead - Ajax • Improve server side performance - Cache • Information can be fetched - Ajax • Information can be passed - Cache • Ajax and Cache
Demo • ASP.NET Sample website that using Cache http://129.130.119.152/CacheAPI.aspx http://129.130.119.152/partial.aspx • Ajax Website http://129.130.119.152/default.aspx
References • Microsoft Ajax http://asp.net • MSDN http://msdn2.microsoft.com/en-us/default.aspx • Team System Rocks http://teamsystemrocks.com/ • ASP.NET Ajax in Action by Alessandro Gallo, David Barkol