This tutorial intends to build the classic “Hello World” application and also introduce you to the tools and procedures required to build and test Silverlight, for Windows Phone applications. The Windows Phone Application Platform enables Awesome applications and games , Fast, high quality, and feature-rich applications.
During the course of this Windows Phone tutorial, series, you will see how to use Microsoft Visual Studio 2010 Express for Windows Phone and Expression Blend to build and design your Windows Phone applications.
Creating a Windows Phone Application Project in Visual Studio :
In this task, you use a predefined template in Microsoft Visual Studio 2010 Express for Windows Phone to create a Silverlight for Windows Phone Application project that will be the starting point of this application.
1. Open Visual studio 2010 express edition for Windows Phone
2. In the FILE Menu choose a new project , and select the Silverlight for Windows Phone category in the list of installed templates, then set the name to HelloPhone and click OK.
Visual Studio 2010 does not save your project automatically unless visual studio 2008 0r 2005. In VS2008 you just need to create a new application and it will be saved in the destination you set.But in VS 2010 when you close the application VS prompts you to save , discard or cancel the changes.Though you can change this behavior in VS 2010 too by following steps :
Tools > Options (Check Show all settings) > Projects and Solutions > General subcategory >Save new projects when created.
3. Now when the project is built , you will see some windows a basic phone and a window called Solution explorer. In Solution Explorer, you will be able to seethe structure of the solution generated by the Windows Phone Application template. Any Visual Studio solution is a container for related projects; in this case, it contains a single Silverlight for Windows Phone project named HelloPhone.
4. Now in solution explorer you have a file named as app.xaml. Here you will find the information regarding colors, brushes, and style elements of the basic design of the phone template.
The other files contained in the Solution Explorer will be covered in the next Windows Phone Tutorial 2.