Join our book community on Discord
https://packt.link/EarlyAccess/
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.
Websites often need to display data, and that data often comes from relational databases. To improve modularity and reuse, instead of a website directly calling the database, it should instead call a web service. That web service can then be called by other clients like mobile and desktop apps as well as the website itself or even other web services.
If you already have a well-structured relational database, instead of manually defining controllers with action methods that query the database and return responses, as you learned to do with ASP.NET Core Web API in Chapter 9, Building Web Services Using ASP.NET Core Web API, it would be even better if you could just wrap an EF Core entity model with a web service that automatically supports complex...