Caching in asp.net mvc

663 views

Published on

ASP.NET MVC Caching

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

  • Be the first to like this

No Downloads
Views
Total views
663
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Caching in asp.net mvc

  1. 1. Caching in ASP.NET MVC By Karthika Rajasekaran
  2. 2. Introduction Stores frequently accessed information -Reduces access time -Improves response time Types: 1. Page output caching 2. Data Caching
  3. 3. Output Caching  [OutputCache (Duration = 120, VaryByParam=“Name“, Location=ServerAndClient)]
  4. 4. Output caching Where Content is Cached Location property: Default value- Any  Any  Client  Downstream  Server  None  ServerAndClient
  5. 5. Flexible Page caching  Donut Caching  Donut Hole Caching
  6. 6. Data Cache  Caching in server  Implementation includes System.Runtime.Caching Namespace  CacheProvider that implements ICacheProvider
  7. 7. Distributed Caching  Ability to create cached data in one server and shared by other server  Solution is Windows server AppFabric Caching
  8. 8. References  ‘Developing ASP.NET MVC Web Applications’ – Exam Ref 70-486  Data Caching:  http://msdn.microsoft.com/en-us/library/ff477235(v=vs.100).aspx  http://msdn.microsoft.com/en-us/magazine/gg650661.aspx

×