Unresponsive DataCacheFactory Constructor Initialization

nHey folks,nnThis was one of the most strange issue I saw today and it is with Microsoft Azure Managed Cache Service APIs.nnWhat was the issue?nnWe were using Azure managed cache 2.3.1 APIs and everything was set including changes needed in the configuration files.nnHere is what typical snippet to initialize the cache factory looks likennnnn nstatic … Read more

Get MIME Type by file extension

nI was searching for a way to get the MIME type of a file by file extension and .NET Framework 4.5 comes to the rescue.nnYou can make use of API GetMimeMapping which is found in the .NET Framework 4.5 System.Web.dllnnHere is the documentation of it – http://msdn.microsoft.com/en-us/library/system.web.mimemapping.getmimemapping.aspxnnExample on how you can use itnnstring mimeType = … Read more

Windows Azure cannot perform a VIP swap between deployments that have a different number of endpoints – Error solved

nI have been taking a look at Windows Azure VIP swap feature and started facing this issue.nnWhat this issue is all about and what is VIP Swap?nnI had deployed an application on the production slot of a cloud service and the test application was deployed on the staging slot of same cloud service.nWhen you have … Read more