Creating an OData Endpoint

The first thing you need to do in order to expose data through a network is build an OData service. Clients will be able to reach this service via an endpoint, and it will allow them to perform HTTP requests via a URL. The OData service is exposed by an ASP.NET application, with Web API enabled. In Visual Studio 2015, select File, New Project and then select the ASP.NET Web Application template (see Figure 38.1.) Name the new project OrderService and click OK.

Image

FIGURE 38.1 Creating a new web application for hosting an OData service.

When the New ASP.NET Project dialog appears, select the Empty template and ensure ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.