Developing and deploying Windows phone 8 app Step by Step

Developing and deploying Windows phone 8 app Step by Step

This article explains how to create a basic Windows Phone app, how to test it on a device and the main feature is how to put it on the Marketplace.

  1. Prerequisites
  2. Create your first app
  3. Test the app on phone
  4. Put it on the marketplace


Download the Windows Phone SDK 8.0, that includes all the tools you need to create Windows Phone apps.

Microsoft Visual Studio Express 2012 for Windows Phone

Create a developer account at the Microsoft developer center where you need to provide your App details, you can use your Microsoft account.

Create your First App

Use the following procedure to create the demo “Hello World” app:

  1. Launch Visual Studio from the Windows Start Screen. If the Registration window appears, you can register the product, or you can temporarily dismiss the prompt.
  2. Create a new project by selecting "File" -> "New" -> "Project...".
  3. In the New Project window, expand the installed Visual C# or Visual Basic templates, and then select the Windows Phone templates.
  4. In the list of Windows Phone templates, select the Windows Phone App template.
  5. At the bottom of the New Project window, type Read feed as the project’s Name.

1. Click "OK". In the New Windows Phone Application dialog box, select Windows Phone OS 8.0 for the Target Windows Phone OS Version.

  • When you select Windows Phone OS 8.0 as the target version, your app can only run on Windows Phone 8 devices.
  • When you select Windows Phone OS 7.1, your app can run on both Windows Phone OS 7.1 and Windows Phone 8 devices.

Create the UI

The designer displays MainPage.xaml, that contains the user interface for your app.

Add the XAML control in Content panel

<!--ContentPanel - place additional content here-->

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">

<TextBlock Text="Hello World"></TextBlock>


Run your application

Build the solution by selecting the "Build" -> "Build Solution".

If any errors occur, they’re listed in the Error List window. You can open the Error Listwindow, if it’s not already open, by selecting the "View" -> "Error List". If there are errors, review the steps above, correct any errors, and then build the solution again.

On the Standard toolbar, ensure the deployment target for the app is set to one of the values for the Windows Phone Emulator, for example, Emulator WVGA 512MB.

Run your application on Phone

To run your application on a phone you need to register the phone first.

  1. You need a Microsoft Account
  2. Provide a unique name for your device
  3. Turn on your phone and unlock the phone screen.
  4. On your phone, ensure that the date and time are correct.
  5. Connect your phone to your computer using the USB cable that came with your phone.
  6. On your computer’s Start Screen, switch to All apps view.
  7. Under Windows Phone SDK 8.0, click Windows Phone Developer Registration.
  8. Verify that the Status message displays Identified Windows Phone 8 device. Click the "Register" button to unlock the phone.
    If your phone is already registered, the Status message indicates this and you see an Unregister button.

  1. Click "Register".
  2. In the Sign In dialog box for your Microsoft account (formerly known as a Windows Live ID), enter the email address and password for your Microsoft account. Click "Sign In".
    If you’re a registered developer, be sure to use the Microsoft account associated with your developer account.
  3. After your phone is successfully registered, the Status message displays Congratulations! You have successfully unlocked your Windows Phone.

How to put it on Marketplace (Windows Store)

  1. Once you are done create your app package (Zipped file).
  2. Login with your developer account and upload your app.
  3. After you upload the app package, fill in the remaining two sections, the App Description and the Notes to testers.
  4. Now you wait for certification. If the app fails compliance testing, you’ll need to fix the issues.
  5. Resubmit the app. It’s not unusual to fail at certification your first time through.


I hope this article will help you to create your first Windows phone 8 app. Please share your valuable feedback if you like this article .
comments powered by Disqus

Related Articles