Creating a Sample Windows Phone 8 App
In Visual Studio 2012, select File > New > Project. In the New Project dialog, select the Windows Phone category and then select the Windows Phone App project template, as shown in Figure 1.
Figure 1 Creating a new Windows Phone 8 app.
Call the new project OrdersManagement and click OK. At this point, Visual Studio 2012 will ask you to specify the version of the Windows Phone operating system you're going to target. As demonstrated in Figure 2, select Windows Phone OS 8.0 and click OK.
Figure 2 Specifying the Windows Phone version.
If this is the first time you've created an app for Windows Phone 8, Visual Studio 2012 should look familiar at this point, showing the XAML code editor on the right and the designer for the device on the left. Of course, the latter has been updated to target the new version (see Figure 3).
Figure 3 The IDE ready on the new project.
Now that you've completed the steps required to prepare the application, you're ready to connect it to LightSwitch's OData service.