Building a Consistent RESTful API with OData V4 in ASP.NET

OData V4, an open OASIS standard dubbed "The Best Way to REST," aims to standardize the process of building RESTful APIs. Discover OData and how to build and consume a RESTful API that adheres to the OData V4 standard, using ASP.NET (Web API).
Course info
Rating
(63)
Level
Beginner
Updated
May 11, 2016
Duration
4h 29m
Table of contents
Querying Data
58m 52s
Description
Course info
Rating
(63)
Level
Beginner
Updated
May 11, 2016
Duration
4h 29m
Description

When building RESTful APIs, many people run into the same types of questions: "How should I name my resources? How should I work with relations? Can I call functions? Hasn't anyone thought of a way to standardize all this?" Well, someone has, and in this course, Building a Consistent RESTful API with OData V4 in ASP.NET, you'll be shown how OData V4, an open OASIS standard, aims to provide a way to build a consistent, predictable RESTful API. This demo-driven course teaches you how to build and consume a RESTful API that adheres to the OData V4 standard, using ASP.NET (Web API). You'll learn how to work with Entities and EntitySets, how to query data (from field-level selection over paging to filtering), how to work with custom actions and functions, inheritance, open types and much more - right up to how to build client applications that consume OData services. By the end of this course, you'll not only know how to use OData V4, but you'll also have a consistent process that helps you to create RESTful APIs more efficiently than ever.

About the author
About the author

Kevin Dockx is a freelance solution architect (mobile/web), author & consultant, living in Antwerp (Belgium).

More from the author
Building a RESTful API with ASP.NET Core
Intermediate
8h 0m
13 Mar 2017
More courses by Kevin Dockx
Transcript
Transcript

Hi, I'm Kevin. Welcome to my Pluralsight course on OData V4, more specifically: on how to build a consistent restful API in ASP.NET that adheres to the Odata 4 standard.

Because that's essentially what OData V4 is: a standard that describes best practices for building and consuming a RESTful API.

In this course, you'll learn what it's all about, with tons of demos.

We'll start out with the basics: getting entity sets or entities to the consumer. You'll also learn how to create, update and delete them - and not just how to technically do it, but how to do it in a way that adheres to the standard.

One of the features OData offers is its ability to query data - much like you would write queries against a database - we'll learn this is immensely powerful by looking into selecting specific properites, expanding result sets, filtering data and more.

We'll also cover the ability to contain an entity or entity set inside another set, the ability to create custom functions and actions to extend server-side behavior and we'll learn how to work with singletons. OData also supports querying only derived types, working with open types and batch processing.

Lastly, as OData is a standard, integration with OData services can be highly automated. That's what we'll look into when we start building clients, both in JavaScript and .NET, to consume our OData service.

After this course, you'll have a good understanding of how to build and consume OData V4 services with ASP.NET. Let's dive in!