This Toolkit is now deprecated and is now

superseded by Windows Azure Mobile Services

During the early previews of Windows 8, the Windows Azure Toolkit for Windows 8 provided developers with the first support for building backend services for Windows Store apps using Windows Azure.  The main areas of feedback we received from mobile developers was that they wanted a turn-key set of services for common functionality such as notifications, auth, and data.   Windows Azure Mobile Services directly reflects this feedback by enabling developers to simply provision, configure, and consume scalable backend services. The downloads for this toolkit will be removed on the week of Feb 1st 2013.  Future improvements will be channeled into Windows Azure Mobile Services rather than this toolkit. 

To get started with Mobile Services, sign up for a Windows Azure account and receive 10 free Mobile Services.


ACS Windows Metro Sample

The toolkit also includes a Windows Metro sample application to demonstrate how you can use ACS for your Windows Metro style application. You can find it in the Samples\ACS folder.

The sample contains two different solution files:

  • ModernCloudIdentity\ModernCloudIdentity.sln: This solution must be opened with Visual Studio 2010 and contains the projects related to the Windows Azure web role.
  • ACSMetroClient\ACSMetroClient.sln: This solution must be opened with Visual Studio 11 and contains the Windows Metro style application project.

 

Important: ACS Sample

Before running the ACS sample, you will need to update your Access Control Service Namespace information in the configuration files. To do this, perform the following steps:

  1. Double-click the SetupSample.cmd file located inside the Samples\ACS folder to launch a tool that will help you in the process of configuring the sample.
  2. Obtain your ACS namespace and its management key. To do this, you can follow the instructions in How to Obtain Namespace and Management Keys.
  3. Enter your Access Control service namespace and the symmetric key you obtained in the first step.

    image

  4. If you want to configure Facebook as Identity Provider, enter your Facebook Application ID and Application Secret; otherwise, press ENTER.

    image

  5. Wait until the tool finishes configuring your sample.

    image

    Note: For more information about configuring relying party applications in the ACS Management Portal, see the following article: http://msdn.microsoft.com/en-us/library/gg185906.aspx

  6. If you see a User Account Control dialog box, click Yes.
  7. Press ENTER to complete the setup.

 

Running the ACS Sample

  1. Open Visual Studio 2010 as an administrator.

    Note: At the time of writing, only Visual Studio 2010 supports Windows Azure cloud projects so you currently need to use this edition to launch the server application. This will change in a future release of the Windows Azure tools when support for Visual Studio 11 is enabled.

  2. Open the ModernCloudIdentity.sln solution located in the Samples\ACS\ModernCloudIdentity folder.
  3. Make sure that the start-up project of the solution is the cloud project. To set the start-up project, right-click the ModernCloudIdentity project in Solution Explorer and select Set as StartUp Project.
  4. Press F5 to launch the application in the compute emulator and open a browser window that shows its start page.

    image

  5. Now, open Visual Studio 11 and open the ACSMetroClient.sln solution located in the Samples\ACS\ACSMetroClient folder.
  6. Press F5 to launch the Metro style client application. In the start page, click Touch Here to Sign In to start the log in procedure.

    image

  7. Click to select an identity provider from the list.

    image

  8. Sign in using your credentials for the selected identity provider.

    image

  9. Once you successfully log in using ACS, the application shows its main page. Click Invoke to access the secured OAuth service endpoint and verify that the Results panel shows the expected response.

    image

Last edited Jan 21, 2013 at 8:00 PM by nharris, version 12

Comments

VineetBatta Oct 15, 2012 at 2:24 AM 
I do not see ModernCloudIdentity\ModernCloudIdentity.sln under C:\WindowsAzure\WATWindows\Samples\ACS folder.

Please can you share the most updated version of documentation

Thanks