Free eBook! Windows Phone Programming in C# For Beginners
This material is an introduction to Windows Phone development for anyone learning to program. It assumes some knowledge of programming fundamentals, but will teach you programming concepts in the framework of Windows Phone development. This information does not teach basic programming principles. The assumption is that you already know how to write and run simple C# programs on a Windows PC.
The following sections are included in this material:
- Windows Phone 7: In this chapter you are going to find out about the Windows Phone platform as a device for running programs. You will learn the key features of the platform itself, how programs are written and how you can sell your programs via the Windows Marketplace.
- Introduction to Silverlight: This section looks at Silverlight and how to use it to create a user interface for your programs.
- Introduction to Visual Studio 2010: When you write programs for Windows Phone you will be using Visual Studio. This section will take a look at the process of creating and managing Windows Phone projects. It will also show you how to run and debug Windows Phone programs using the Windows Phone emulator program. This allows you to test your programs without needing to have a device. However, this is not just a look at how to use Visual Studio. You will also find out how Visual Studio manages the content that makes up the solutions.
- User Interface Design with Silverlight: Section 2 looks at some of the elements provided with Silverlight. In this section you are going to build on your skills and delve a bit more deeply into what Silverlight can do. By the end of this section you should be able to create useable, multi-page Silverlight applications that will work on a Windows Phone.
- Consuming Data Services: One of the things that make a Windows Phone very useful is the “connectedness” that it has. It allows the user to consume network services wherever they are (as long as they can get a signal). This makes it possible for some genuinely new kinds of applications, particularly if you add in the way that the device is also location aware. In this section you explore the ways in which C# programs on the device can connect to and use data services provided by the network.
- XNA Overview: After all the hard work in the previous sections now would seem a good place to have some fun and play some games. You can write games in Silverlight, but that is not really what it was designed for. XNA on the other hand was built from the ground up to be an efficient and powerful tool for game creation. In this section you are going to take a look at XNA and how to use it to create games for the Windows Phone device.
- Creating Windows Phone Applications: You now know enough to make programs run on the Windows Phone device. In this section you will take a look at what it takes to turn a program into a “proper” application. This includes a variety of topics, from how to give your program a custom splash screen and icons to how a program can store data on a phone device.
- Windows Phone Marketplace: You now know enough to make complete applications and games that will work correctly within the Phone environment and use the built-in features of the phone system. In this section you are going to find out how you can take your completed applications and submit them to the Windows Phone marketplace and maybe make some money from them.
Fernando García Loera (Community Program Manager – Latin America Region)