Scenario I have multiple Azure Infrastructure-as-a-Service (Iaas) Virtual Machines (VMs) running under multiple Cloud Services, within one Virtual Network. I need these VMs to resolve each other based on hostname as well as be able to resolve public websites. If these VMs were all running in one cloud service, they would be able to resolve…
Tag: Rob Nowik
Azure: Calling the Azure Management Rest API
The Azure Management REST API exposes a series of endpoints that allow you to perform various operations against your Azure subscription. This is documented at http://msdn.microsoft.com/en-us/library/windowsazure/ee460799.aspx. You can do many things with the REST API – the majority of Azure management operations can be initiated via this (Note: the Azure PowerShell commandlets wrap calls to…
Azure PowerShell: Provisioning Multiple VMs
To create new VMs for use with the Virtual Machines and Virtual Networks preview feature for Azure, you can use the Azure PowerShell Commands available at https://www.windowsazure.com/en-us/downloads/. The specific commands to provision a VM are… New-AzureVMConfig – http://msdn.microsoft.com/en-us/library/windowsazure/jj152883.aspx Add-AzureProvisioningConfig – http://msdn.microsoft.com/en-us/library/windowsazure/jj152870.aspx New-AzureVM – http://msdn.microsoft.com/en-us/library/windowsazure/jj152815.aspx The examples on how to use this are typically as follows:…
Azure Access Control Services: Creating a Custom Identity Provider
Azure Access Control Services (ACS) allows you to secure an application (i.e. Relying Party, RP), by federating to a variety of Identity Providers (IdPs). Once you set your Relying Party application to use federated security with Azure ACS, you can chose combinations of Facebook, Windows Live ID, Google and Yahoo to secure your application. You can…
ADFS 2.0: Single sign-on when a website references remote images
I recently had an issue where a website, secured with Active Directory Federation Services 2.0 (ADFS), was referencing images stored in another website, secured by the same instance of ADFS. This meant that if a user logged into the main website without going first to the website hosting the images, they would not see the…
Federated Security: How to setup and call a WCF service secured by ADFS 2.0
In this blog post I am going to walkthrough the steps required to secure a WCF service with ADFS 2.0, as well as how to call this service from a client. The aim of this article is to provide an outline of the general principals and steps, not to explain how to set up a…
HTML 5 / JavaScript: Creating a Carousel
Following on from my previous posts on html5 animation and reflection effects, I thought I’d put it all together and create a carousel. Firstly, I create a JavaScript pseudo class called CarouselImage. This takes an image url and draws it at a given co-ordinate, scaled by a co-efficient (used to simulate perspective). This class also…
HTML5 / JavaScript: Reflections and Skew Effects
In carousel and coverflow type controls, you often see a “reflection” type effect. This is normally done by transforming an image to mirror the original then applying an alpha gradient to this (i.e. progressively increasing the transparency of the image). I recently attempted to recreate this effect in HTML5 / JavaScript. It appears that you…
HTML5 / JavaScript Canvas Animation
In this article, I will show how to create a basic animation using JavaScript and the HTML 5 Canvas elements. The animation uses two png images (of concentric circles with transparency) that move within the constrains of the canvas to create a nice pattern effect. This demo has been primarily built for IE9; it has…