10

Exposing Data via the Web Using OData

In this chapter, you will be introduced to OData, a standard that makes it easy to expose data via the Web to make it accessible to any client that can make an HTTP request.

This chapter will cover the following topics:

  • Understanding OData
  • Building a web service that supports OData
  • Testing OData services using Visual Studio Code extensions
  • Versioning OData controllers
  • Enabling entity inserts, updates, and deletes
  • Building clients for OData services

Understanding OData

One of the most common uses of a web service is to expose a database to clients that do not understand how to work directly with the native database. Another common use is to provide a simplified or abstracted API that exposes an authenticated ...

Get Apps and Services with .NET 7 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.