This Toolkit is now deprecated and is now
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
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:
- 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.
- Obtain your ACS namespace and its management key. To do this, you can follow the instructions in
How to Obtain Namespace and Management Keys.
- Enter your Access Control service namespace and the symmetric key you obtained in the first step.
- If you want to configure Facebook as Identity Provider, enter your Facebook Application ID and Application Secret; otherwise, press
- Wait until the tool finishes configuring your sample.
Note: For more information about configuring relying party applications in the ACS Management Portal, see the following article:
- If you see a User Account Control dialog box, click
- Press ENTER to complete the setup.
Running the ACS Sample
- 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.
- Open the ModernCloudIdentity.sln solution located in the
- 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.
- Press F5 to launch the application in the compute emulator and open a browser window that shows its start page.
- Now, open Visual Studio 11 and open the ACSMetroClient.sln solution located in the
- 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.
- Click to select an identity provider from the list.
- Sign in using your credentials for the selected identity provider.
- 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.