The Diner example application demonstrates how to build simple, catalog-type application, for Windows Phone based on local XML data. It is straightforward to convert the application to use internet resources instead of local XML-resources. The application is designed in such a way that it is easy to replace the content and visual style for diffe…
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
doc Added combined screenshot. Oct 29, 2013
License.txt Updated Nov 7, 2014


This example application demonstrates how to build a simple application based on panorama control for Windows Phone using Microsoft Silverlight.

Support for Windows Phone 8 was made according to guidelines given in article!co-development-and-porting-guide.html. The solution consists of two top-level projects sharing the same source code, one targeting WP 7 and the other targeting WP 8. Bing Maps control is used in WP 7 project and the new Map control introduced in Windows Phone is used in WP 8 project.

This example application is hosted in GitHub:

Developed with:

  • Microsoft Visual Studio 2010 Express for Windows Phone
  • Microsoft Visual Studio Express for Windows Phone 2012.

Compatible with:

  • Windows Phone 7
  • Windows Phone 8

Tested to work on:

  • Samsung Omnia 7
  • Nokia Lumia 820
  • Nokia Lumia 920


Make sure you have the following installed:

  • Windows 8
  • Windows Phone SDK 8.0
  • Latest NuGet Package Manager (>2.7.1) from to enable NuGet Package Restore

To build and run the sample:

  • Open the SLN file
    • File > Open Project, select the file wprestaurantapp.sln
  • Install Windows Phone Toolkit for the project.
    • Right click solution wprestaurantapp in Solution Explorer -> select Manage NuGet Packages for Solution
    • Search for 'wptoolkit' and install the 'Windows Phone toolkit' package
  • Depending on whether you want to run the WP7 or WP8 version of the application, select either wprestaurantapp_WP7 or wprestaurantapp_WP8 as a StartUp Project.
  • Select the target, for example 'Emulator WVGA'.
  • Press F5 to build the project and run it on the Windows Phone Emulator.

To deploy the sample on Windows Phone device:

About the implementation

Important folders:

Folder Description
/ Contains the project file, the license information and this file (
wprestaurantapp_WP75 Root folder for the WP7 implementation files.
wprestaurantapp_WP8 Root folder for the WP8 implementation files.
wprestaurantapp_WP75/content Graphic files.
wprestaurantapp_WP75/Properties WP7 Application property files.
wprestaurantapp_WP75/SampleData Sample data file.
wprestaurantapp_WP75/ViewModels ViewModel implementation files.
wprestaurantapp_WP8/Properties WP8 Application property files.

Important files:

File Description
MainPage.xaml.cs Class responsible for displaying the panorama view of the application.
MainViewModel.cs Class responsible for loading restaurant data from disc.
RestaurantData.cs Class describing the restaurant properties shown.

Known issues

No known issues.


See the license file delivered with this project.

Version history

  • 1.5.0 Support for 720p resolution and NuGet package restore.
  • 1.4.0 Using Pushpin from WPToolkit for WP 8.
  • 1.3.0 Support for Windows Phone 8.
  • 1.2.0 Bug fixes and changes based on reviews; published on the Nokia Developer website.
  • 1.1.1 Support for Windows Phone OS version 7.1.
  • 1.1.0 New feature: modifying existing reservations.
  • 1.0.0 First version.