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).
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.
Introduction to REST and OData V4 Hi there, and welcome to this course on building a consistent RESTful API with OData V4 in ASP. NET at Pluralsight. My name is Kevin, and I'll guide you through the rest of this course. This is a beginner course in OData. In this and the upcoming modules, you'll learn what OData is, why it's useful, and how to build OData services in ASP. NET. We'll cover a variety of topics and concepts, CRUD operations, working with queries, functions, actions, and much more, right up to batch processing and building client applications that consume OData services. We'll build and learn more topic by topic. The course is very demo-driven. Most of what we'll learn, we'll learn using demos rather than going through slide after slide, so I hope you like seeing code, as we're going to learn the OData standard by example. At the end of this course, you'll know how to build OData services by implementing the OData standard, and you'll know how to consume them, both manually and from code. Let's have a look at the course prerequisites.
Creating and Consuming an OData V4 Service Hi, and welcome to the Creating and Consuming an OData V4 Service module of the Building a Consistent RESTful API with OData V4 in ASP. NET course at Pluralsight. My name is Kevin, and I'll guide you through the rest of this module. In this module, we'll build our first OData service, but before we can do that we must learn what the Entity Data Model and Conceptual Model are. After that, we can create our first OData service, which will allow us to select entities, sets of entities, and individual properties. But how can we make sure a certain URI maps to a certain method? That's where routing comes in. A lot of services you'll want to write will require you to manipulate entities, create them, update them or delete them, and that's not all, entities might be related to other entities or sets of entities. We'll cover those topics as well. Let's dive in.
Querying Data Hi there, and welcome to the Querying Data module of the Building Consistent RESTful API with OData 4 in ASP. NET course at Pluralsight. My name is Kevin, and I'll guide you through the rest of this module. One of the selling points of OData is its built-in ability to query resources, almost like writing queries against a database. We'll look into selecting specific properties from a resource, and including related resources in the same result set. We'll learn how to order resources, page through them, and a pretty big part of this module, what options we have when it comes to filtering them. All this is done through what are called system query options, so in this module we'll learn how to do that by looking into the most important query options.
Working with Containment, Custom Functions, Actions, and Singletons Hi, and welcome to the Working with Containment, Custom Functions, Actions, and Singletons module from the Building a Consistent RESTful API with OData V4 course at Pluralsight. My name is Kevin, and I'll guide you through the rest of the module. We'll dive into some more advanced, yet still often-used parts of the OData standard. We'll start out with containment, or containment navigation, the principle that allows us to avoid top-level access for navigation properties that shouldn't exist on their own. After that, we'll look into custom functions and actions which allow us to add server-side behavior that is not easily defined as a simple CRUD operation. We'll end the module by creating a singleton. This allows addressing a single entity directly from the entity container without having to know its key and without requiring an entity set. Let's start with containment navigation.
Working with Derived Types, Open Types, and Batch Processing Hi there, and welcome to the Working with Derived Types, Open Types, and Batch Processing module of the Building a Consistent RESTful API with OData V4 in ASP. NET course at Pluralsight. My name is Kevin and I'll guide you through the rest of this module. We start this module by learning how we can ensure that only entities of a specific derived types are returned in a result set. By working with open types, we learn how we can add undeclared properties and property values dynamically, and we end the module with checking out Batch requests, which allow us to group different requests together in one transaction. After this module, the OData API is fully built.