Question

I am very new to Azure Redis caching. I am using MVC 5 + Entity framework 6.1. and database is Azure SQL Server. Website is also on Azure.

I need to cache few tables in Redis which are used for only read. Current size of these tables are 8 GB and going forward it can increase further.

My questions are: 1) How can I bind these tables in Redis cache? 2) How can I add newly added rows in redis cache? Or do I need to delete and recreate one?

Thanks in advance.

1
0
3/30/2015 10:38:57 AM

Popular Answer

You can serialize your tables and store them in the Cache. The following blog explains how you can store your information in SQL Server and Redis Cache. It using MVC and EntityFramework as well.

http://azure.microsoft.com/blog/2014/06/05/mvc-movie-app-with-azure-redis-cache-in-15-minutes/

0
3/30/2015 8:30:12 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow