Introduction to Using Windows Azure Platform for Windows Phone Applications


The Windows Phone platform limits application development to either Silverlight based development or XNA based development. While these platforms will work for most of the application scenarios, there are still scenarios where you might want to refactor some of the application logic into a dedicated functionality that resides outside the application and can be called on an as needed basis as a web service.

Microsoft offers a cloud computing platform called Windows Azure that serves this requirement.

Let us explore the Windows Azure platform in more detail.

Windows Azure Platform

Windows Azure platform is defined as a bunch of services hosted by Microsoft that provide highly-scalable processing and storage capabilities, database services, data subscriptions and other services.

Of the various offerings via the Windows Azure platform, let us explore the ones that can be leveraged for use in the Windows Phone applications.

Windows Azure Compute Offering

Windows Azure Compute Services offer scalable computing services that can execute both managed and native code.

Windows Phone platform only allows managed code. This limits the capability of many Windows Phone applications. Application developers can use Azure compute service to do some computing not supported by the Windows Phone platform.

Here are a few advantages of using Windows Azure compute services:

  • Processing is no longer limited to the device, so CPU heavy computations, which can drain the battery life, can be done via a Windows Azure service. Also, since Azure services can be scaled up or down, you are not limited to how many processors you can use for computing.
  • Windows Azure environment is maintained at Microsoft datacenters so they are guaranteed to be always available for use in your Windows Phone application.
  • You are not limited to only using Silverlight and XNA framework libraries. You can write services in any of the languages/platforms that Azure supports, even native code.

Windows Azure Storage Offering

Since the phone only comes with 8GB and 16GB of storage available, you can use Azure for storing your application data. Say you were developing an application where you want to store state information. It is easy for the state information to be misused by a rogue application. By having this information in the cloud, you can protect it from malicious applications.

Database Offering

SQL Azure is a cloud-based relational database that is based on SQL Server. SQL Azure allows easy provisioning and deployment of databases because developers do not have to install, setup or manage any software (It is taken care by Microsoft). This also comes with high fault tolerance and high up-time. Windows Phone application developers can use web services to store and retrieve data in a SQL Azure database.

Marketplace Offering

Windows Azure Marketplace DataMarket enables developers to discover, purchase and manage data subscriptions using oData feeds. We have already seen how to use oData services in an earlier article (Using oData Services in a Windows Phone Application). oData offers REST-based APIs to simply data access via the oData Client library for Windows Phone.


In this article, we learned about Windows Azure services, which can be used in a Windows Phone application. I hope you have found this information useful and can use it in developing Windows Phone application, which uses the Windows Azure platform.

About the Author

Vipul Vipul Patel

Vipul Patel is a Software Engineer currently working at Microsoft Corporation, working in the Office Communications Group and has worked in the .NET team earlier in the Base Class libraries and the Debugging and Profiling team. He can be reached at

Related Articles


  • nice

    Posted by ghazanfar381 on 07/25/2011 05:03pm

    good article.

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • With the mobility trend in full swing, most organizations today are already vulnerable to potential security risks. The security basics of yesterday--policy, encryption, and authentication--no longer cover fundamental security needs. Businesses must act quickly to get the most from mobility while effectively protecting information and systems.  This white paper describes the challenges IT faces, from mobilizing business processes to protecting corporate data, and outlines the five must-haves for an enterprise …

  • Finance leaders have been talking about expanding the value-added role of their teams for a long time. The debate is no longer whether the finance and accounting function needs to become a more strategic partner to the rest of the business but rather how to get there. Technology innovation has caught up to this ambition, and what was once aspiration can be a reality – and the choice is now yours. Read this research report to learn how to make the most of information tools to enable innovation and growth.

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date