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

Learn how to Deliver Better Mobile Apps Faster with Continuous Quality by managing the complexities of testing multiple devices and scenarios with this whitepaper from Perfecto Mobile.

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

Do you know Why Apps Succeed? Perfecto Mobile analyzed over 1,000 responses to their Digial Quality Strategies survey and aim to answer the question, "Why do apps succeed?" in this exclusive report.

Topics:

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.

SEE AN EXAMPLE
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.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}