I have a single Web Role, using MVC5.
In web role properties I selected Enable Caching.
In a controller in my MVC app I have:
var cache = new DataCache("default");
But it throws an error:
"Server collection cannot be empty"
Is the controller the wrong place to create the cache object? I was just trying to put it where I might have used a session cache before.