In this post I’ll show a few simple steps to setup federated auth in an MVC 4 application using WIF 4.5 and ACS. Prerequisites: Visual Studio 2012 with Identity and Access Tool An Access Control Service namespace Steps: Create a new MVC 4 project targeting .NET Framework 4.5 (using the Internet Application template). Open _LoginPartial.cshtml... read more
During the last couple of months I’ve been working for the p&p guys at Microsoft, developing the sample application for a new guide around Windows Azure hybrid application integration. One of the components of the sample solution is a console application that performs all the steps required to have the ACS and Service Bus namespaces... read more
Introduction The intention of this post is to show how the distributed and local cache of the Windows Azure Caching Service work together. We are going to cover the implications of enabling the local cache feature, the interaction between the local and distributed caches, and how to prevent unexpected errors that can be caused by... read more
When the memory usage of the WaWorkerHost.exe process starts going up without apparent reason, and you are using Tasks in your worker role, it might be the time to check for unhandled exceptions and start handling them properly. Throwing exceptions from Tasks in a worker role and NOT properly handling them: Might cause this memory... read more
Setting rule actions in Service Bus Subscriptions is a useful mechanism for automatically modify properties of BrokeredMessages when they are sent to a Topic. The easiest way for assigning a rule action to a subscription is to do it when the subscription is being created: Here we are setting the value of the DeliveryCount property... read more