Azure In-Role Cache Samples
Microsoft recommends all new developments use Azure Redis Cache. For current documentation and guidance on choosing an Azure Cache offering, see Which Azure Cache offering is right for me?
This topic provides an overview of two samples available for In-Role Cache.
Caching API and Performance Sample
This sample demonstrates the use of various In-Role Cache APIs. It also provides a way to compare performance between role-based In-Role Cache and Microsoft Azure SQL Database. This sample uses In-Role Cache hosted on a dedicated worker role.
For sample details and download information, see Caching API and Performance Sample.
Caching Session State and Output Caching Sample
This sample demonstrates how to host In-Role Cache on an existing web role (co-located topology). It uses caching for both ASP.NET session state and page output caching.
For sample details and download information, see Caching Session State and Output Caching Sample.