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

Unable to open TFS Build Process Templates in Visual Studio 2012

nHi guys,nnYet another development issue and solutionnnIssue:nnAfter installing Visual Studio 2012 , I was not able to open the build process templates on my environment. Strange this was – they were getting opened correctly in other environments or on other machines.nnWhat was the error – nnSystem.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.VisualStudio.SharePoint.WorkflowExtensions, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ … Read more