Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Connecting your WinPhone 7 app to an ASP.NET Razor page with a little REST and JSON

DZone's Guide to

Connecting your WinPhone 7 app to an ASP.NET Razor page with a little REST and JSON

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

"In this tutorial you will learn how ASP.NET Web Pages with Razor syntax can be used to build a RESTful web service that is capable of delivering weather forecast data to a Windows Phone 7 application. We will be using WebMatrix, a lightweight tool for web development to write code and manage the website throughout this tutorial." --Microsoft/web


  • Getting Started
  • The Current Weather Site
  • What You’ll Need
  • A RESTful Service
  • What is REST
  • Using Razor to Deliver RESTful Content
  • A Quick Test
  • The Windows Phone Client
  • Communicating with the REST Service
  • Decoding JSON on Windows Phone 7
  • Updating the User Interface
  • Summary



    image

    I'm not sure how old this content is, but I really like how it uses Razor, REST, JSON all at the same time in an easy to consume and understand manor...

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

Topics:

Published at DZone with permission of Greg Duncan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}