Home > Articles > Mobile Application Development & Programming

  • Print
  • + Share This
From the author of Preparing a Sample LightSwitch OData Service

Preparing a Sample LightSwitch OData Service

The goal of this article is to show how you can create Windows Phone 8 apps that can consume a LightSwitch data source exposed as an OData feed. As in Part 4 of this series, we won't build a new LightSwitch application from scratch. Instead, I'll show you how to use the sample application described in Part 2 of this series ("Your Data Everywhere: Exposing Your LightSwitch Data as OData Services to Other Clients"). Part 3 ("Your Data Everywhere: Consuming LightSwitch's OData Services from Windows Phone Apps") demonstrated how to secure an OData service exposed by LightSwitch, implementing a demo user with password. Be sure to read the previous articles before continuing with the new instructions in this article, as you'll find a lot of similarities that will simplify migrating your code to Windows Phone 8.

In summary, we have a LightSwitch application with two tables, Customers and Orders. LightSwitch's intrinsic database is automatically exposed as an OData feed that will be accessed by a Windows Phone 8 app, as I'll demonstrate shortly.

  • + Share This
  • 🔖 Save To Your Account