WP7S Tutorial 1: Creating a Windows Phone Application Project

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 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.
newproject 600x378 WP7S Tutorial 1: Creating a Windows Phone Application Project

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.

solution explorer WP7S Tutorial 1: Creating a Windows Phone Application Project
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.

Comments

  1. bạn ah! bạn có được bài viết này từ trang nào vậy? bạn cho minh trang chủ của nó được không. minh thấy nó hay qua. có gì mail cho mình nha
    hungthinhth1@gmail.com
    yahoo: hung_thinhth1
    mình thanks bạn trước nha
    đợi mail của bạn
    thân!

    ReplyDelete
  2. Đây là link trực tiếp bạn có thể tham khảo.
    http://www.thewindowsclub.com/tutorial-1-creating-windows-phone-application-project

    ReplyDelete

Post a Comment