ASP.NET MVC Output Caching with Windows AppFabric Cache(www.devtrends.co.uk)

submitted by devtrendsdevtrends(184) 5 months, 19 days ago

Enterprise level web applications are typically hosted in web farms where in-process caching is less useful than a distributed caching approach such as Windows Server AppFabric or Memcached. Thanks to the extensibility features introduced with ASP.NET 4.0, modifying an application to use a distributed cache is a very simple process. This post explains how to create an AppFabric OutputCacheProvider and how to configure ASP.NET to use the new provider. We will also discuss a big limitation with the MVC3 OutputCacheAttribute and explain how this is addressed by the MvcDonutCaching NuGet package.

1 comment |category: |Views: 27

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 5 months, 18 days ago 0

Getting up and running with this caching method seems very simple, which is great if it works well OOB. Any idea how it determines what host to put what cache content on? Or is it simply mirrored between all the hosts?

Reply

information Login or create an account to comment on this story