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.


Project Templates, Samples and Libraries Source Code

Project Templates

This toolkit contains a project template for C#:

  • Windows 8 Cloud Application: This project template for Visual Studio generates a Windows Azure cloud project as well as an ASP.NET MVC 3 project that handles registrations from clients and can deliver push notifications to them.
  • Notification + Access Control Application: These client project templates for Visual Studio, available for both JavaScript and C# projects, make it easier for developers to create a Windows Metro Style application that utilizes services in Windows Azure.

Immediately, out of the box, the client and server projects integrate to enable push notifications with the Windows Push Notification Service (WNS). In addition, the Windows Azure project demonstrates how to use the Windows Push Notifications Recipe and how to leverage Windows Azure blob and table storage.

 

Samples Source Code

If you browse to the Samples folder, you will find the following folders:

  • ACS: An example of how to use ACS in your Windows Metro style applications.
  • MargiesTravel: A fictitious scenario to leverage NuGet packages for sending notifications and a Metro style application written in JavaScript.
  • Notifications.CSharp: A Windows Metro style sample application written in XAML and C# showing how to use the WinMD NuGet packages to register / unregister the application for notifications using an ACS secured notification endpoint.
  • Notifications.JS: A Windows Metro style sample application written in HTML and JavaScript showing how to use the WinMD NuGet packages to register / unregister the application for notifications using an ACS secured notification endpoint.
  • PNWorker: Source code for an application that demonstrates how to offload the job of sending Windows Push Notifications using a Windows Azure worker role.
  • RawNotifications.CSharp: A Windows Metro style sample application written in XAML and C# showing how to send and receive Raw Notifications.
  • RawNotifications.JS: A Windows Metro style sample application written in HTML and JavaScript showing how to send and receive Raw Notifications.
  • Service Bus: A Windows Metro style sample application written in XAML and C# showing how to send and receive messages via Windows Azure Service Bus Queues, Topics and Subscriptions.

 

Libraries & NuGets

Inside the Libraries folder you will also find the source code for all the libraries included in this toolkit packetized as NuGets:

  • ACSAuthentication: A WinMD library that provides an easy way to retrieve tokens from the Windows Azure Access Control Service leveraging the WebAuthenticationBroker class provided by the Windows Runtime and a “bouncer” service similar to the one included in the Notifications.CSharp and Notifications.JS samples. The NuGet package can be found at http://nuget.org/packages/Windows8.Identity.AccessControl
  • ACSAuthentication.CSharp: A XAML control written in C# to display the list of identity providers configured in ACS leveraging the Windows8.Identity.AccessControl NuGet. The NuGet package can be found at http://nuget.org/packages/Windows8.CSharp.Identity.AccessControl
  • ACSAuthentication.JS: An HTML control written in JavaScript to display the list of identity providers configured in ACS leveraging the Windows8.Identity.AccessControl NuGet. The NuGet package can be found at http://nuget.org/packages/Windows8.JS.Identity.AccessControl
  • ClientRecipe: A WinMD library to register / unregister with a push notification endpoint created by the WnsRecipe NuGet package. The NuGet package can be found at http://nuget.org/packages/Windows8.Notifications
  • WnsRecipe: Push notification server-side helper library that provides an easy way to send all three types of push notification messages supported by Windows Push Notification Services (WNS): Tile, Toast, and Badge. The NuGet package can be found at http://nuget.org/packages/WnsRecipe

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

Comments

No comments yet.