Building a Consistent RESTful API with OData V4 in ASP.NET 4
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).
What you'll learn
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.
Table of contents
- Introduction 1m
- Entity Data Model and Conceptual Model 4m
- Demo - Defining an Entity Data Model 8m
- Demo - Selecting an EntitySet 4m
- Routing 4m
- Demo - Working with Attribute-based Routing 2m
- Demo - Controlling the Amount of Control Information 3m
- Demo - Selecting an Individual Entity 4m
- Demo - Selecting Properties and Raw Property Values 9m
- Demo - Creating an Entity 4m
- Demo - Updating an Entity 5m
- Demo - Partially Updating an Entity 3m
- Demo - Deleting an Entity 2m
- Demo - Working with Relations and Navigation Properties 8m
- Summary 1m
- Introduction 1m
- Passing Query Options 1m
- Demo - Selecting Specific Properties (Part 1) 2m
- How OData Queries Are Handled 1m
- The Importance of Deferred Execution 2m
- Demo - Selecting Specific Properties (Part 2) 7m
- Demo - Including Related Entities 8m
- Demo - Ordering Entities 3m
- Demo - Paging Through Entities 8m
- Demo - Filtering Entities - Logical Operators 7m
- Demo - Filtering Entities - Lambda Operators 3m
- Demo - Filtering Entities - Arithmetic Operators 2m
- Operator Precedence 2m
- Demo - Filtering Entities - Grouping Operators 1m
- Demo - Filtering Entities - Canonical Functions 4m
- Demo - Filtering Entities - The Implicit Literal 5m
- What’s Missing? 1m
- Summary 2m
- Introduction 1m
- Working with Containment Navigation 1m
- Demo - Implementing Containment Navigation 4m
- Demo - Manipulating Containment Navigation Properties 6m
- Working with Custom Functions and Actions 1m
- Demo - Implementing Custom Functions 11m
- Demo - Implementing Custom Actions 11m
- Working with Singletons 1m
- Demo - Implementing a Singleton 6m
- Demo - Manipulating a Singleton 2m
- Summary 2m
- Introduction 1m
- Working with Derived Types 1m
- Demo - Working with Derived Types 8m
- Demo - Manipulating Derived Types 5m
- Working with Open Types 1m
- Demo - Working with Open Types 5m
- Demo - Manipulating Open Types 5m
- Grouping Multiple Operations in a Single Request 2m
- Demo - Grouping Multiple Operations in a Single Request 6m
- Summary 1m