The first question do arises in our mind when ever a new platform introduced to us “Do we need to learn some new language” … Ok for Windows Phone development the answer is NOOO.We can utilize what ever we have learned till now the C# Smile.My previous post was on the basics of Windows phone and in this post we will have a look into options available for creating an application for windows phone.

The windows phone supports two frameworks for creating applications ,

  • Silverlight XAML Based with C#
  • XNA (Used Mostly for Games)

Although Silverlight acts as core for application development but nobody stops us to XNA for applications.We too can create application with combination of both.This MSDN article will guide you to determine the framework you should choose for creating WinPhone Application.

Developer Prerequisites

Fair Idea about .Net Development (C#) , To develop using Visual Basic you need additional Download (Here)

Basics of XAML and Silverlight or XNA

System Requirements

    • Windows® Vista® (x86 and x64) with Service Pack 2 – all editions except Starter Edition
    • Windows 7 (x86 and x64) – all editions except Starter Edition
    • Installation requires 4 GB of free disk space on the system drive.
    • 3 GB RAM
    • Windows Phone Emulator requires a DirectX 10 or above capable graphics card with a WDDM 1.1 driver
    • Visual Studio 2010 with Service pack 1
    • Windows Phone 7.1 SDK
    • Zune Client (Additional if you want to Deploy application on your phone)

Downloads

Windows Phone SDK – :The Windows Phone Software Development Kit (SDK) 7.1 provides you with all of the tools that you need to develop applications and games for both Windows Phone 7.0 and Windows Phone 7.5 devices.

Download the Windows Phone 7.1 SDK

Make sure that you have installed Visual Studio Service Pack 1 , before installing the SDK.

Zune Client (Additional)–:For connecting your Windows phone to Desktop and to Transfer files you need to install Zune client.It can be downloaded from Here.

Develop and Debugging your Application

Once you installed the SDK your Visual studio will have the project Templates to get started with Windows Phone Projects.

SNAGHTML191636b

The SDK comes with a Emulator which enables you to develop,debug and Test your application in your desktop environment.It also provides an isolated environment for early application prototypes. By using the emulator, you can proceed through the common application development scenarios without a physical device. To find more about windows phone Emulator follow this MSDN link.

Deploying your application to your Phone

Here comes the tricky part of Windows Phone.Although Emulator gives you almost all the execution environment same as real windows phone device but its good to test with a physical device.In Order to Deploy your developed app in your phone you must Register you phone and yourself as an developer at APPHUB.

image

App Hub registration comes up with Annual subscription of 99$(Rs 4500) for Individuals.Once registered at APPHUB you can test the unsigned application in your personal phone as well as publish your application to the Marketplace as a Free or Paid program.Although there are some restriction with the number of free applications .

Once you are registered at APPHUB then Connect your device to you desktop with ZUNE Client installed.Then from Start Menu >> Windows Phone SDK 7.1 click on Windows Phone Developer Registration.

SNAGHTML1ad6501

This opens an additional screen where you can unlock your device using the same live credential you have used at APPHUB.

image

Let me Summarize with steps you need to follow to deploy your app to your device ,

  • Register at APPHub (Required –: LiveID,Contact Information, Credit Card Information)
  • The Windows Phone device must be registered and unlocked (Required –: Valid APPHUB Membership and Live ID)
  • The device must be connected to the host computer and active.
  • The Zune client must be installed on the host computer . (Download Here)

Conclusion

If you want to learn the basics of Windows Phone then Visual Studio and Emulator is sufficient , no need to go for paid registration .Hope this post will give you a good overview before developing apps for Windows Phone.Enjoy Windows phone Smile.