Windows Azure Toolkit for Windows Phone 7

Courtesy Steve Marx (http://blog.smarx.com/)I am tremendously excited to announce the release of the Windows Azure Toolkit for Windows Phone 7.  This toolkit is designed to make it easier for your to build phone application that leverage cloud services running in Windows Azure.  Our team has been diligently working on this toolkit for months, and I think you’ll like what you see.

Get the bits on CodePlex here: http://watoolkitwp7.codeplex.com/

Cloud services and phone applications are a powerful combination, and our goal is to make it as easy as we can for you to use Windows Azure to provide storage and services for your phone applications.  Everything we’ve built in this toolkit is to simplify the experience and optimize your time.  For example, rather than require you to learn any new semantics around storage or put in the time to build out membership services to provide authentication and authorization for your phone applications, we’ve done it for you and provide you with a sample demonstrating the necessary steps.

The toolkit contains the following pieces:

  • Binaries – These are libraries we’ve written that you can use in your Windows Phone 7 applications to make it easier to work with Windows Azure (e.g. a full storage client library for blobs and tables). You can literally add these libraries to your existing Windows Phone 7 applications and immediate start leveraging services such as Windows Azure storage.
  • Docs – We’ve provided documentation that covers setup and configuration, a review of the toolkit content, getting started, and some troubleshooting tips.
  • Dependency Checker – As you’ve come to expect and love, we provide a full dependency checker to ensure that you have all the bits required in order to successfully use the toolkit.
  • Project Templates – We have built VSIX (which is the unit of deployment for a Visual Studio 2010 Extension) files that create project templates that make it easy for you to build brand new applications.
  • Samples – We have a sample application that fully leverages the toolkit, both available in C# and VB.NET.  The sample application is also built into one of the two project templates created by the toolkit.

It’s easy to get started.

  1. Head over to http://watoolkitwp7.codeplex.com/ and download the latest package named WAZToolkitForWP7.exe.  This file is a self-extracting executable, and will unpack the files on your disk. 
  2. Your first step is to run WAZToolkitForWP7.exeAccept the License Agreement (standard MS-PL) and click Install.  Nothing is registered or installed on the O/S, so it makes it extremely easy to upgrade or remove.
    image
  3. Your next step is to run Setup.cmd.  This launches the configuration wizard that will check prerequisites and install new project templates.  Walk through the wizard and install any missing software.  Please note that “Visual Basic for the Windows Phone Developer Tools RTW” is optional and not required.
  4. Once the dependency checker has completed, the Visual Studio Extension Installer will attempt to install the Windows Azure Toolkit for WP7 – make sure to click Install.  This process runs the VSIX file that creates the two project templates.
  5. You can now close the wizard.

That’s it – you now have the toolkit setup and installed on your machine.

Head to Visual Studio and select File –> New –> Project.  Select the Visual Studio –> Cloud templates.  You will now see two new templates installed: Windows Phone 7 Cloud Application and Windows Phone 7 Empty Cloud Application.  These project templates provide you with an out-of-the-box (don’t you love that phrase) experience for creating Windows Phone 7 application that use services running in Windows Azure.

image

Click OK and create a new project.

A new project wizard will ask you for your Windows Azure storage account information.  You can choose to either enter production storage account information or choose to use the local storage emulator – for your first time I’d recommend using the local storage emulator.

image

After you click OK your new solution is created for you.  This solution includes three projects that provide you with the Windows Phone 7 client already configured to use Windows Azure storage and compute services and all the services used by the phone client in a Windows Azure web role project.

Simply hit F5 to build and run.  Your phone application will launch in the Windows Phone 7 emulator, and your services will run in the Windows Azure compute emulator.

image

You’re now able to run the full Windows Phone 7 sample application locally on your machine!

For a detailed walkthrough, please see the Getting Started documentation on the CodePlex site.  You can also find additional documentation and information on getting started.

One final closing thought – the toolkit is not yet complete.  In fact, we’ve only just started.  We already have additional work underway, and we plan to have many additional drops to provide additional capabilities and functionality.  For example …

  • Notification services for Windows Phone 7 (and other devices) that run in Windows Azure
  • Support for Windows Azure queues
  • More sample applications
  • Multiple NuGet packages
  • SQL Azure support & samples
  • DataMarket support & samples

… and the list could go on and on.  If you have feedback, or your own requests, please either leave a comment or send a message to waztoolkitwp7@microsoft.com.

I hope you enjoy!

34 Comments

  1. [...] leer un post interesante sobre el tema aquí y descargos la versión desde aquí, la cuál está disponible en [...]

  2. [...] выпуска финальной версии можно прочитать тут. This entry was posted in Uncategorized. Bookmark the permalink. ← Как создать [...]

  3. [...] are plans for additional drops of the toolkit that will add new capabilities and functionality, including Notification services for Windows Phone [...]

  4. Hi, congratulations for this great milestone! It really works great and makes dramatically easy consuming cloud resources from WP 7. However I noticed that in Visual Web Developer Express the project template is available only to C#, not VB. In VS 2010 Ultimate, instead, everything works as expected.

    Thanks and keep up the great work!

  5. Sample Checker…

    [...] s to your existing Windows Phone 7 applications and immediate start leveraging s [...]…

  6. [...] Wade Wegner’s Blog Post, "Windows Azure Toolkit for Windows Phone 7" [...]

  7. [...] more details see Wad Wegner’s blog post about the toolkit.  The toolkit itself can be downloaded from CodePlex [...]

  8. jinishans says:

    This is really great. I’ve 1 WP7 app in marketplace called “My NEWS”. thought of utilizing Azure blog to develop another one, but, got struck how to / where to retain the Azure key/pwd details, i can’t distribute in each client WP7 app. So, put that on hold few days back.

    Now, I’ll start that WP7 to utilize my Azure a/c and see how it’ works.

    BTW, where the Azure key/pwd will be stored in this Blob Client approach… for a WP7 app…?

    • Wade says:

      Great to hear this could be of value – definitely let me know how you progress!

      The key is always stored with the services running in Windows Azure. The phone will make a call to the service and get back a SAS (shared access signature) that it can use to access a private container. This way the keys remain secure but your phone can still work directly with blob storage.

  9. [...] Wade Wegner's Blog Post, "Windows Azure Toolkit for Windows Phone 7" [...]

  10. [...] more? If those resources aren’t enough to get you started, make sure to stop by Wade Wegner’s blog (a fellow evangelist) for a quick “how to get started" [...]

  11. [...] El proyecto acaba de empezar y ya están pensando en añadir mucha más funcionalidad. Podéis obtener más información en el blog de Wade Wegner. [...]

  12. Nick Harris says:

    Hi Wade,

    I am not sure if your working with the WP7 team if not it might be worth checking this out with regard to Push Notifications on Azure for WP7. The WP7 team have put together a MSPN serverside helper and have planned recipies for Push Notifications on Azure http://windowsteamblog.com/windows_phone/b/wpdev/archive/2010/12/13/windows-phone-recipes-helping-the-community.aspx

    Kind Regards,
    Nick Harris

  13. [...] For more information on the Windows Azure Toolkit for Windows Phone 7, read this blog post from Microsoft Technical Evangelist Wade Wegner. [...]

  14. [...] For more information on the Windows Azure Toolkit for Windows Phone 7, read this blog post from Microsoft Technical Evangelist Wade Wegner. [...]

  15. Anonymous says:

    [...] Источник: wadewegner.com [...]

  16. [...] Azure Toolkit for Windows Phone 7 (v1.0: 2011. március 23, v1.1: április 12, v1.2: május 16): The Windows Azure Toolkit for Windows [...]

  17. [...] In this video, you’ll see how easy it is to deploy this package to Windows Azure regardless of your operating system (e.g. Windows 7 or OSX) and target device (e.g. Windows Phone 7, iOS, or Android).  See Wade Wegner’s posts for more information on the Windows Azure Toolkit for iOS and the Windows Azure Toolkit for Windows Phone 7. [...]

  18. [...] «????? Windows Azure Toolkit ??? Windows Phone 7!» ??? ???? ?????? (Wade Wegner) ?????????? Windows Azure Toolkit ??? Windows Phone 7 ? ???????? ???????? ? Windows Azure Toolkit ??? Windows Phone [...]

Leave a Reply