Level: Intermediate
ASP.NET Web API makes it easy to write Web APIs or HTTP services of any flavor. The vast majority of remote service call needs for client and Web applications is to perform CRUD operations—retrieve data, work with it on the client side, and send changes back to the server. The OData protocol standardizes how to do this, and ASP.NET Web API makes it easy and powerful to implement OData services. You'll see how you can just use one part of OData - the query syntax - to express rich client queries from the client side that get executed server side without needing to use any other part of the OData spec. Or you can go full OData and use the formatting of OData as well as the query syntax and expose CRUD services that will be standardized and interoperable on almost every relevant platform out there today.
You will learn:
- How to support rich client queries using OData query syntax and ASP.NET Web APIs
- How to support full OData querying, updating, and message formatting with ASP.NET Web API
- Why OData makes a compelling approach for CRUD-centric web services