How do I configure the Azure Caching Service in code? Note I'm talking specifically about the new Caching Service, currently in preview, that uses v2+ of the caching libraries. I am not talking about the older Azure Shared Caching service, which is very similar.
In my particular case I want to configure caching parameters in the service configuration (.cscfg) file, rather than in web.config. But there are probably other reasons as well.