Windows Azure Toolkit for Windows Phone – Getting Started – Step-By-Step

This is another Step-By-Step article, where we would try out Windows Azure Toolkit for Windows Phone (Mango). This toolkit is available at codeplex.

Step 1

Download the installer from the codeplex site, as mentioned above. The following screens are to guide the toolkit installation.




Step 2

We need one of the mandatory installations, and that is Windows Identity Foundation SDK. You download it from the following link.

The following steps are a guide for installing Windows Identity Foundation SDK.


Step 3

The toolkit, we have installed in the 1st step; would create the following folders in the path we had provided.

In case, the templates are not installed for Visual Studio 2010; you could browse to the following folder and install the templates as required.

Step 4

Next, we would create a “Windows Phone Cloud Application”; this is the template appeared after we installed in the above steps. The templates would be available for “Cloud” category.

Create the project; it would create two projects, one for Windows Phone 7 and the other for a Web project (MVC web application).

Step 5

The following screen would appear to choosing the data store type. If you have configured your azure storage account then select the first else the SQL Azure option.


Click on Next to continue.

Step 6

The following screen, would ask for the Windows Azure credentials; if you want you could provide, else we can use the “Storage Emulator”.


Click on the “Next” button to continue.

Step 7

The following screen would appear for the type of Push Notification Services you need, in this example we would tick the Microsoft option.

Click “Next” button to continue.

Step 8

The following screen would require for managing user authentication. We would go for the 2nd option where we would provide the “Namespace” and “Management Key”.

Click “Next” button to continue.

Step 9

The following screen might not appear for everybody. It would only come; if you have installed the new version.

Click on the Convert option and click on “OK” to finish the wizard.

Step 10

At this point we would not do any single line code change, but we would run the application. It would start the windows phone emulator and storage emulator.

Bam!! You cannot run the application; you would be missing an assembly.

Step 11

As per the above steps; you would be missing Microsoft’s Identity Model. I thought that the SDK would take care of this; but it didn’t. So we need to install the “Windows Identity Foundation” from the following link.

The following screens for guide for installing “Windows Identity Foundation”.

Step 12

We would run the project again and this time; it should run fine. But it might not run fine for some machines. Those machines are using port 443 would hit error.

Otherwise we would have success in seeing the following page.



Hope this article helps, thanks for reading.

Tryout my Codeplex Projects:

  1. Visual Studio Cleaner
  2. Auto Power Switch
  3. Auto Wall
  4. Application Scheduler
  5. Windows 8 Storage Helper