Share via


How To: Configure Windows Azure Web Role ASP.NET Web application for Federation with Access Control Service (ACS) v2

Programming Windows Azure - Programming the Microsoft CloudThis post outlines how to create basic Windows Azuer Web Role ASP.NET application configured for federation with Access Control Service (ACS) v2. This is only collection of resources that were tested individually but not in the sequence as presented below. I am collecting required raw materials to start with. The end goal is to build end-to-end walkthrough and test it. But that’s for another post.

Summary of steps:

  • Create basic Windows Azure Web Role ASP.NET project
  • Create and configure ASP.NET web application as relying party in ACS v2 Management Portal
  • Configure Windows Azure Web Role ASP.NET project for federation with ACS v2
  • Make modifications related to specifically to Azure/ACS v2.
  • Deploy your solution to Windows Azure
  • Test your solution

The rest of the post is the details for each step.

Create basic Windows Azure Web Role ASP.NET project

To create Windows Azure Web Role ASP.NET project use the following topic - Code Quick Launch: Create and deploy an ASP.NET application in Windows Azure. Relevant section is To create and run an ASP.NET service for Windows Azure.

Create and configure ASP.NET web application as relying party in ACS v2 Management Portal

To create and configure relying party use the following topic - How To: Create My First Claims Aware ASP.NET application Integrated with ACS v2. Relevant steps are:

  • Step 1 - Create a Windows Azure AppFabric Project
  • Step 2 - Add a Service Namespace to a Windows Azure AppFabric Project
  • Step 3 – Launch the ACS v2.0 Management Portal
  • Step 4 – Add Identity Providers
  • Step 5 - Setup the Relying Party Application
  • Step 6 - Create Rules
  • Step 7 - View Application Integration Section

Configure Windows Azure Web Role ASP.NET project for federation with ACS v2

To create configure Windows Azure Web Role ASP.NET project for federation with ACS v2 use the following topic - How To: Create My First Claims Aware ASP.NET application Integrated with ACS v2. Relevant steps are:

  • Step 9 - Configure trust between the ASP.NET Relying Party Application and ACS v2.0

To make relevant modifications related to ASP.NET project to be deployed to Windows Azure and configured for federation with ACS v2. use the following topic - Windows Azure Web Role ASP.NET Application and Access Control Service (ACS) V2 – Quick Checklist. You will need to configure certificates to enable your Windows Azure Web Role ASP.NET application to work with Windows Identity Foundation (WIF). Good start outlined here Exercise 1: Enabling Federated Authentication for ASP.NET applications in Windows Azure – relevant section is Task 1 – Creating a Windows Azure project and Preparing it for Using Windows Identity Foundation.

Deploy your solution to Windows Azure

To deploy your ASP.NET web application configured for federation with ACS v2 to Windows Azure Web Role use the following topic - Code Quick Launch: Create and deploy an ASP.NET application in Windows Azure. Relevant section is To deploy the service to Windows Azure.