Azure-数据库行级缓存 [英] Azure - Database Row level Cache
问题描述
我们已经在Azure中开发了一个ASP.NET Web应用程序.在该应用程序中,我们尝试使用数据库行级缓存(使用Redis缓存).我们已尝试将数据库缓存,应用程序将从缓存中获取数据. 避免从应用程序连续调用数据库.
We have developed an ASP.NET web application in Azure. In that application we have tried to use Database row level Cache (using Redis Cache). We have tried to get database to cache and the application will get the data from the cache.(This will be avoid the continuous database calling from application).
请提供任何C#示例用于数据库行级缓存.如果有其他选择,请提出建议.
Please provide any C# samples for the database row level caching. If any alternatives please suggest.
谢谢.
Nandhakumar R
Nandhakumar R
推荐答案
Hi Sierratec,
Hi Sierratec,
此文档有很多示例 Azure Redis缓存示例,以及其他链接.
This documentation has quite a few samples Azure Redis Cache samples, along with additional links.
此外,这些教程还向您介绍了不同的情况:
此示例演示如何将缓存用于ASP.NET会话状态和输出缓存.
此示例使用 Windows Azure网站中的Windows Azure缓存服务.在此示例中,缓存用于ASP.NET会话状态和输出缓存.
This sample demonstrates how to use Caching for both ASP.NET Session State and Output Caching.
This sample uses Windows Azure Cache Service from a Windows Azure Web Site. In this sample, the cache is used for ASP.NET Session State and Output caching.
这篇关于Azure-数据库行级缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!