This project is read-only.

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.

Running the Windows 8 Cloud Application

After creating a new Windows 8 Cloud Application project, follow these steps to walk through the sample application generated by the template.

Starting Windows Azure Services

  1. Make sure that you do not have any Web site bound to ports 443 or 10080 in your local IIS.

    Note: By default, the ASP.NET MVC 3 Web role generated by the project template is configured to run over two different endpoints: the first one uses HTTPS on port 443 and the second uses HTTP on port 10080.

  2. In Solution Explorer, right-click the Windows Azure project, point to Debug and click Start new instance.


Creating a Windows Metro Style App (client)

  1. Now, open Visual Studio 2011 and create a new JavaScript "Notifications + Access Control Application”.


    Note: You can use either Microsoft Visual Studio 11 Beta or Visual Studio 11 Express Beta for Windows 8. In this step, you can create a C# “Notifications + Access Control Application” instead.

  2. Enter the package name obtained from the WNS and Live Connect portal and then click Next.


  3. Enter the Registration endpoint URL and then click Next.


  4. Leave the Use ACS Authentication option cleared and then click OK.


  5. Once the solution opens, press F5.
  6. In the client application, press Register. This will request a channel from WNS and submit it to your Windows Azure service running in your local Windows Azure compute emulator. In the Output section of the application, you will see that the Channel URI was sent successfully to your service.


  7. You may now send notifications to the client application by clicking the Send Notification button. See Using the Windows 8 Cloud Application Services Application to learn how to use this feature.

Last edited Jan 21, 2013 at 8:57 PM by nharris, version 4


No comments yet.