2

I am using windows server AppFabric 1.1 and want to use caching in asp.net MVC3 application. How can I start? I tried many of the online samples and it gave run time errors. Please help me with Sample applications or tutorial.

Nithin
  • 33
  • 8

1 Answers1

1

You could use AppFabric Caching in three ways in asp.net MVC 3 :

As a session state provider

This provider enables you to store your session state in a distributed cache rather than in-memory or in a SQL Server database. MSDN link here

As an output provider AppFabric provider plugs into the new output cache provider extensibility point that was introduced in ASP.NET 4. MSDN link here

As a distributed data cache Create code that puts, retrieves, and removes your objects from the cache. Wiki here. Be sure to install AppFabric correctly and that it's running.

At the end, what are your run time errors ?

Cybermaxs
  • 24,378
  • 8
  • 83
  • 112
  • if I want to use appfabric as an output cache provider, do I require any coding for that? will it still be available in distributed environment? – Nithin Sep 30 '13 at 12:31