Now that you have got a new Windows Phone, if you are a .NET Developer then next thing you might want to see your programs running live on WIndows Phone and feel your application with touch and gestures.
But let me tell you that you are still $99 USD (annually) and few steps behind to fulfill your dream, provided you don’t have Promo Code or DreamSpark subscription, if you have the MSDN Subscription you can generate the Promo Code from the My Account menu and Activate your Window Phone Developer account.
Once you are ready with your subscriptions, follow the steps below.
Step 1 : Registration
Go To Start Screen, Locate Windows Phone Developer Registration
Make Sure to Unlock the Screen by entering the PIN or you you have not set the PIN then simply Swipe the screen to Unlock. If you Have not Unlocked your screen you might get the error as below(Please unlock the phone screen on your phone and click “Retry” (ErrorCode:0xC)).
Step 2: Now Once you Unlock, the wizard will identify your Phone and Select Register, which will ask you to register you phone with you Live ID or Microsoft ID.
During the entire process keep your phone in Unlocked State, it will take few seconds then comes the next error if you are not registered with Developer Centre, (Device not registered with Marketplace. Please return to the Windows Phone Dev Center for more information (ErrorCode:0x80043001))
You can find the list of registered devices by logging into your Windows Phone Developer Account by going to this link
Step 3 : Registration to Windows Phone Dev Centre
This means you need to register yourself using this link : https://dev.windowsphone.com/en-us/join to Windows Phone Developer Centre, this will charge you $99 for a year subscription, or if you have a promo code or if you are a DreamSpark student then this will be free for you.
Once you Register yourself, then you may wait for sometime (~24 hours) for your account to get verified and activated. Finally after you complete all the steps above open the Windows Phone Developer Registration and try again you will get the message “Congratulations! You have successfully unlocked your Windows Phone.” This means your are ready to go and run your code on your Windows Phone device.
3. First Hello World in your Device
Once you have successfully registered your Phone to Windows Phone Developer Centre, open your Visual Studio 2012, Create a New Project and Select Windows Phone from the templates.
You can select the language of your choice, for this post I am selecting Windows Phone HTML5 App and select Ok to create the project with default settings and files.
Open the index.html, under Html folder of your project and just personalize your page with something of your choice.
Please make sure to keep the phone connected and Unlocked before you deploy and run your first Windows Phone Application on your device.
Now to run the application you can find the Device button as given in the screenshot below, you can also test your phone by clicking on the Simulation dashboard, highlighted below.
Now lets run my First Windows Phone App, make sure your phone is unlocked otherwise your deployment will fail. You can find the screen something similar to the one I have given below.
4. Subscription Benefits.
With this subscription you can
- Get free development tools, including a phone emulator to test your app
- Explore code samples and all the information in our developer library
- Read tips about selling your app
- Review our policy guidelines and certification requirements
- See tips and guidelines for creating apps that reflect the beauty of our design concepts
- Create apps with trial options
- Enable in-app purchasing, so customers can buy things within your app
- Test your app with a real phone
- Submit free and paid apps to the Store
- Distribute your app around the world and set country/region-specific price tiers
- Watch your progress and manage your apps in a personalized dashboard
- Ask questions, share advice, or talk with other Windows Phone developer
5. Other Useful Links
For more details and FAQ visit : http://msdn.microsoft.com/en-US/library/windowsphone/develop/ff769508%28v=vs.105%29.aspx
Enjoy coding you Windows Phone Apps !!!