110 likes | 258 Views
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
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