-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Real-World Web Development with .NET 10 - Second Edition
By :
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 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 querying using HTTP standards.
Guess what? That’s exactly what ASP.NET Core OData does for you!
In this chapter, you will be introduced to OData, a standard that makes it easy to...