Connecting your WinPhone 7 app to an ASP.NET Razor page with a little REST and JSON
Join the DZone community and get the full member experience.Join For Free
"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
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.