Over a million developers have joined DZone.

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

· Mobile Zone

"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


    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...


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

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}