Building Applications and Services Using Open Data Protocol
Throughout this hands-on lab you will understand the ecosystem that provides Open Data Protocol (OData), how to create OData feeds over SQL Server and how to import OData feeds for Silverlight applications.
The Open Data Protocol (OData) is a web protocol for querying and updating data. Its specification is available under Microsoft's Open Specification Promise (OSP), therefore third parties, including open source projects, can build Open Data Protocol clients and services.
OData is defined as a set of open extensions/conventions to AtomPub. It adds the following features to AtomPub.
In this lab, you will learn about the Open Data Protocol, the ecosystem where it works, and why developers should write applications and services using the Open Data Protocol as their Data Access protocol. You will also learn how to create simple applications in various technologies that manage the OData feeds.
In this Hands-On Lab, you will learn how to:
The following is required to complete this hands-on lab:
All the requisites for this lab are verified using the Configuration Wizard. To make sure that everything is correctly configured, follow these steps:
To perform the setup steps you need to run the scripts in a command window with administrator privileges.
Using the Code Snippets
With code snippets, you have all the code you need at your fingertips. The lab document will tell you exactly when you can use them. For example,
To add this code snippet in Visual Studio, you simply place the cursor where you would like the code to be inserted, start typing the snippet name (without spaces or hyphens), in this case LabNameEx01RunmethodCS, watch as Intellisense picks up the snippet name, and then hit the TAB key twice once the snippet you want is selected. The code will be inserted at the cursor location.
Hit TAB to select the highlighted snippet.
Hit TAB again and the snippet will expand
To insert a code snippet using the mouse rather than the keyboard, right-click where you want the code snippet to be inserted, select Insert Snippet followed by My Code Snippets and then pick the relevant snippet from the list.
To learn more about Visual Studio IntelliSense Code Snippets, including how to create your own, please see Creating and Using IntelliSense Code Snippets.
This Hands-On Lab comprises the following exercises:
Estimated time to complete this lab: 60 minutes.
This Hands-On Lab includes the following starting materials.