Windows Phones yield most opportunities for developers to set up good applications. Nevertheless, in a little cases a developer is singular by the attributes specific to any mobile device – compelled processing, battery life, singular storage, and few connectivity. Consequently, it’s critical to tie in to services off of the device, perfectly in a place with scalable processing, copiousness of power, effervescent storage, and entire connectivity. Enter clouded cover computing with Windows Azure.
In most ways, clouded cover computing levels the personification field. Any developer can daub in to a incomparable – and probably vast – pool of resources from which to pull. For developers, Windows Azure – Microsoft’s cloud-computing height – is a good enrich to mobile concentration development. Simply put, Windows Azure allows we to concentration on your application. You don’t have to be concerned about handling or monitoring the handling system, only as we don’t have to be concerned about the hardware the network. As a managed service, Windows Azure takes caring of things equipment for you.
To have it simpler for Windows Phone developers to operate Windows Azure, we have combined the Windows Azure Toolkit for Windows Phone. This toolkit provides a set of Visual Studio plan templates which give we an modernized starting indicate for structure Windows Phone applications scored equally in to services regulating in Windows Azure. The toolkit additionally includes libraries, representation applications, and documentation.
Today we’ve expelled chronicle 1.3 which includes a little good updates, including:
- Support for SQL Azure as a membership provider.
- Support for SQL Azure as a interpretation source by regulating OData.
- Updates for the Windows Azure Tools for Visual Studio 1.4 and the Windows Phone Developer Tools 7.1 RC.
- Upgraded the web concentration ASP.NET MVC 3.
- Shipped the full source formula to BabelCam, which is right away accessible in the Windows Phone Marketplace.
For some-more report on this recover we can watch this video on Channel 9:
To get started, revisit the Windows Azure Toolkit for Windows Phone on CodePlex. While we can examination the source formula online, I suggest we download the self-extracting executable. This apparatus not only gives we all the source code, though additionally a Visual Studio prolongation which includes the plan templates and a dependency checker which ensures we have all the compulsory prerequisites.

Once installed, you’ll get 2 latest plan templates underneath Cloud templates – Window Phone Cloud Application and Windows Phone Empty Cloud Application.

Create a latest Windows Phone Cloud Application. This will launch a sorceress which will pick up report from we compulsory for regulating your concentration with services. The sorceress is adaptive, and will only ask report formed on what we select.

Choose both Windows Azure Storage and SQL Azure Database – this approach we can try all you. Just as Windows Phone provides an emulator for development, so as good does Windows Azure yield an emulator to copy regulating applications in the cloud. Consequently, in the subsequent step, select the Use Storage Emulator – we can regularly shift this environment later. Similarly, for SQL Azure, select Use internal SQL Server instance.
One of the gems in this toolkit is the built-in await for the Microsoft Push Notification Service (MPNS) – though carrying to write a singular line of formula we can horde your MPNS services in Windows Azure which have been already continuous to your application.

In the final step, we can select how to conduct user authentication. The toolkit provides 2 forms of user government – a elementary ASP.NET membership store (which provides standard username/password support) or the Access Control Service (ACS). ACS is a Windows Azure operate which allows we to daub in to existent temperament providers such as Live ID, Google, Yahoo, and Facebook – in fact, even corporate identities have been upheld by ADFS. The toolkit creates regulating ACS intensely easy – not only will it pick up report indispensable to operate ACS, though it will additionally strech out to the ACS government rest endpoints to set all up automatically. For a minute explanation, see Windows Azure Toolkit for Windows Phone 7 1.2 Will Integrate With ACS from Vittorio Bertocci.

Once the sorceress has run the march you’ll have a resolution ready to run – so strike F5!

You have been initial presented with the event to login. Depending on the user authentication mode we choose, you’ll possibly operate ACS or emanate a latest user.
NOTE: In sequence to devour the REST services over HTTPS in a phone device or in the Windows Phone Emulator, we need to operate a devoted SSL certificate. If we do not have one, we can operate a self-signed certificate, though we need to implement it in the phone prior to immoderate the services. Since the Computer Emulator regularly uses the 127.0.0.1 self-signed certificate, we need to implement it in the Windows Phone Emulator prior to stability with the subsequent steps.
Once you’ve logged in we can begin to try out the assorted aspects of the toolkit. There have been 5 areas to explore:
- Push Notifications
- Windows Azure tables
- Windows Azure blobs
- Windows Azure queues
- SQL Azure
To have it unequivocally elementary to try out and exam the pull notifications – as good as yield we a proof of how to go about induction a presentation channel, storing it in Windows Azure tables, and afterwards promulgation a summary to the phone – we have additionally enclosed a elementary web concentration which we can operate to send notifications to the phone. First, capacitate pull notifications on the customer …

… afterwards record in to the web concentration regulating in the Windows Azure discriminate emulator (admin login is listed in the documentation) and select the Microsoft Push Notifications tab. You should see a channel determined for your user. Type a summary afterwards click Send Raw.

Back on the emulator we will see which the concentration has perceived the summary from the MPNS. Try it out for toast and tile notifications too!


Not bad for an out-of-the-box experience! You can additionally exam out toast and tile notifications.
While this is a representation application, the worth is which it includes all the compulsory piping to hoop the Windows Phone pull requests from the client, surfacing them by the web application, and afterwards vouchsafing the admin send notifications behind to the phone.
And of course, there’s some-more – try the capability to emanate and undo tables, come in rows of data, upload pictures from the device camera in to blob storage, enqueue and dequeue messages in queues, and arrangement read-only interpretation in SQL Azure.

One of the some-more latest updates to the toolkit includes the representation concentration BabelCam. BabelCam proposed as a proof-of-concept concentration I built for my MIX11 talked Building Windows Phone 7 Applications with the Windows Azure Platform. Since afterwards we’ve not only spotless up and enclosed the source code, though we’ve additionally published to the Windows Phone marketplace – download BabelCam and try it out!
We’ve been means to pierce really fast in building this toolkit, formed mostly on good feedback we’ve perceived from users – greatfully keep it coming! As a refresher, here have been a little of the updates we’ve done over the final 6 months:
- March 23, 2011: Version 1.0.0 (first released)
- April 12, 2011: Version 1.1.0 (support for Push Notifications)
- May 15, 2011: Version 1.2.0 (support for the Access Control Service)
- May 19, 2011: Version 1.2.1 (bug fixes)
- May 24, 2011: Version 1.2.2 (support for WPDT 7.1 Beta)
- July 5, 2011: Version 1.2.3 (support for WPDT 7.1 Beta 2)
- August 31, 2011: Version 1.3.0 (support for SQL Azure, WPDT 7.1 RC)
Mango opens up a lot of latest opportunities for us to set up latest capabilities and applications which mix the most appropriate of Windows Azure and Windows Phone – sparkling times ahead!
Be certain to download the Windows Azure Toolkit for Windows Phone today.
asp:listview mobile css layout template#p

