Sample Application: Food and Dining

Browse Code for the Food & Dining Sample Application here

The Contoso Food & Dining app is a full sample app that examples how to build a complete application for Windows 8 using best practices for: design, data acquisition, user control creation, data binding, semantic zoom, share, search, live tiles, Bing Maps integration and more.

This sample app allows users to set their location either using a destination name (e.g., New York, NY) or by finding their current location. With location set, the user will be presented with Trending Restaurants (restaurants with a number of recent positive reviews), Recently Reviewed (restaurants with recent reviews), Top Near Me (highest rated restaurants close to the user’s set location), and Favorites.

Each of these sections can be viewed in grid form where the user can filter each collection by cuisine, price range, and more. The user can also choose to show the results on a map view.

The restaurant details page shows the full restaurant details including a snap shot of reviews from Yelp, the menu from OpenMenu (if available), and images associated with the restaurant collected from Bing.

Technical Blog Posts

Animating the App, Ian N. Bennett

Real-World Secondary Tiles: Top Three Tips for Working with Secondary Tiles in Windows 8 Apps, Jennifer Marsman

Real-World Live Tiles: Working with Live Tiles in Windows 8 Apps, Jennifer Marsman

Rolling with Team Foundation Service, Jim Blizzard

Developer Downloads for Windows Store Apps

To obtain an evaluation copy of Windows 8 and Visual Studio Express 2012 for Windows 8, go to Windows 8 Developer Downloads.

Related topics

Windows 8 app samples

Getting started with apps

Operating system requirements

Client

Windows 8

Build the sample

  1. Start Visual Studio Express 2012 for Windows 8 and select File > Open > Project/Solution.
  2. Go to the directory in which you unzipped the sample. Go to the directory named for the sample, and double-click the Visual Studio Express 2012 for Windows 8 Solution (.sln) file.
  3. Press F7 or use Build > Build Solution to build the sample.

Run the sample

To debug the app and then run it, press F5 or use Debug > Start Debugging. To run the app without debugging, press Ctrl+F5 or use Debug > Start Without Debugging.

Browse Code for the Food & Dining Sample Application here

5 comments
jmaglitta
jmaglitta

This app has gotten a lot of traffic. Good news: There are a bunch more in the pipeline we'll be posting. Stay tuned. 

squizfloats
squizfloats

I enjoyed the DevRadio discussion about integrating Bing Maps into this app. I would love to download and learn by browsing the source code for the Windows 8 Food & Dining sample app. Unfortunately, clicking on "Download Sample Application" takes me to SourceForge, that apparently requires me to have, and know how to use Git tools, in order to download the source code. (I have heard that Git has a painful learning curve.) Is there any way, or any place, to simply download the solution (e.g. a zip file) without Git?

Thank you for sharing your knowledge, Alan

jmaglitta
jmaglitta

@squizfloats  Downloading the code does not require Git. Git is one of the options, including SourceForge's own Allura.  


jerrynixon
jerrynixon

Windows 8 as the only supported client OS. Does this run on ARM? Windows RT?