Nithin
Nithin

Reputation: 33

Developing .net MVC3 application for caching using AppFabric 1.1

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.

Upvotes: 2

Views: 1193

Answers (1)

Cybermaxs
Cybermaxs

Reputation: 24558

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 ?

Upvotes: 1

Related Questions