-
Notifications
You must be signed in to change notification settings - Fork 27
How to configure Windows Azure Caching
shijuvar edited this page Aug 16, 2012
·
1 revision
- Right-click on the Windows Azure Role, and click properties.
- In the properties window, choose Caching tab.
- In the Caching tab, check the Enable Caching (Preview Release) checkbox.
- Choose Co-located Role for the Cache Cluster settings. By default, this will be Co-located Role when we enable Caching.
- Specify the Time To Live (min) for the time interval of Cache for expiry and Expiration Type for specifying the expiration type of Cache object.
- Add Cache Worker Role project.
- Configure the settings for Dedicated Cache Role - Right-click on the Cache Worker Role from the Windows Azure project, and click properties and choose Configuration. Specify the VM size and Instance Count.
- Specify the Time To Live (min) for the time interval of Cache for expiry and Expiration Type for specifying the expiration type of Cache object
- Install the Windows Azure Caching Preview client library by using NuGet.The name of the NuGet package is Microsoft.WindowsAzure.Caching
- Configure web.config for using Windows Azure Caching `
type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" /> `