ASP.NET Session state broken after migrating from Windows Azure shared Cache to Role Based Cache

Windows Azure Shared Cache feature is  going to depreciate soon and right now Microsoft is not allowing the end users to create new shared cache namespace from the management portal. One of the Microsoft partner, who was leveraging Shared Cache to managing the ASP.NET Session state for their Deployed CloudServices got this information from some…


Windows Azure Cache: Feature Comparison Matrix

Windows Azure offers three different Cache Offerings. 1. Cache Service Preview 2. In-Role Caching 3. Shared Caching Cache Service is the newest and is in Preview right now. Considering that Shared Caching is soon to be deprecated (ref), the real choice is between the new Cache Service Preview and the tried and tested In-Role Caching….

0

Losing the Remote Desktop (RDP) connectivity with Cloud Services targeting Window Azure SDK 1.7/ SDK 1.8

In recent past I have noticed that, the customer’s who leveraging Windows Azure SDK 1.7 / SDK 1.8 complaining that intermittently they were unable to rdp into their VM, and sometimes issue should be resolved after couple of reboot/reimage of corresponding VM. So I have done an investigation for one of such customer’s , and…


[DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0006>

  I have noticed  that several Windows Azure developer’s hitting below mentioned error message, while adding large size of data to Windows Azure share or dedicated cache [DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises…


WADLogsTable spammed with ‘WARNING: <DistributedCache.ClientMemoryMonitor> Virtual Bytes ……..’

In recent past,  We have noticed that,  Windows Azure end users, who leveraging Windows Azure Dedicated Cache feature with Windows Azure SDK 1.8 indicates that, their WADLogsTables are spammed with below mentioned warning messages, and during the investigation it is also noticed that available memory counter’s from performance log are showing as normal at the…


Windows Azure Cache – Pessimistic Concurrency Model

In this model, client application acquires a lock before performing the operations. In order to acquire a lock on an object, you need a lock handle of DataCacheLockHandle.  The same lock handle is needed to unlock the object. It’s important to remember that Locked objects in the cache can still be replaced by any cache client…


Session State Management in Windows Azure Web Roles

One of the frequent questions that developers and customers ask me during my Windows Azure related discussion is how to manage session state in Windows Azure Web Role. With Web Roles supporting full IIS (previously it was just hosted web core), the inclination to fall back to the tried and tested methods of either in-proc…