Clarity, Technology, and Solving Problems | PracticeThis.com
WP7 App with Key Windows Azure resources – Slides, Videos, How-To’s, and T-shooting – for quick consumption on the go.
I thought it will be useful to share with you set of images and diagrams I use for depicting Windows Azure AppFabric Access Control Service scenarios.
Download the diagrams in Visio format.
[UPDATE April 6, 2011] Dominick Baier of www.leastprivilege.com brought to my attention several important things to have in mind when using this technique:
To change web.config setting directly in the Windows Azure role you need to configure your Windows Azure role for Remote Desktop administration. Detailed walkthrough is here: Using Remote Desktop with Windows Azure Roles.
Initially the application needs to be deployed entirely to Windows Azure with the required setting applied in order to enable direct configuration of web.config without re-deploying the application. Web.config located under E:\Approot\_WASR\0.
Summary of steps in the walkthrough:
Download Windows Azure SDK
I needed a functionality that allows me to generate Word documents out of email items managed in my Outlook 2010. The scenario would be:
I used this resource to get started – Building and deploying an Outlook 2010 Add-in (part 1 of 2). Part 2 is here - Building and deploying an Outlook 2010 Add-in (part 2 of 2).
After completing the steps of adding a button to a ribbon, I added a code to the button click event handler that collects all email items in the specific folder (3rd one under the Inbox folder).
Here is the code that runs:
MAPIFolder inBox = (MAPIFolder)e.Control.Context.Application.ActiveExplorer().Session.GetDefaultFolder
MAPIFolder inBoxfolder = inBox.Folders;
e.Control.Context.Application.Application.ActiveExplorer().CurrentFolder = inBoxfolder;
StringBuilder sb = new StringBuilder();
for (int i = 1; i <= inBoxfolder.Items.Count; i++)
if (inBoxfolder.Items[i] is PostItem)
PostItem pi = (PostItem)inBoxfolder.Items[i];
using (StreamWriter sw = new StreamWriter(@"C:\GeneratedFile.doc"))
NTOE: This code is less than optimal and should be improved for its quality. But it can perfectly get you started if you have the same goal as I did in first place.