Publishing an OData Endpoint

Before you can consume an OData endpoint, you need to publish it to a web server. For debugging purposes, it is okay to use Internet Information Services Express, which is the default option in Visual Studio 2015. For production, you can choose either a local server or Microsoft Azure. Because in this case you have created an ASP.NET application, to publish your OData endpoint, you simply follow what you learned in Chapter 34, “Building and Publishing ASP.NET Applications,” about deployment. For the current example, leave unchanged the IIS Express option, which is good for debugging on the development machine. The next steps are about showing the JSON representation for your data model. If you plan to use Microsoft ...

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.