Language

The Open Data Protocol (OData) is a data access protocol for the web. OData provides a uniform way to query and manipulate data sets through CRUD operations (create, read, update, and delete). Using ASP.NET Web API, it is easy to create an OData endpoint. You can control which OData operations are exposed. You can host multiple OData endpoints, alongside non-OData endpoints. You have full control over your data model, back-end business logic, and data layer.

  1. Creating an OData Endpoint with Web API 2

    By Mike Wasson|

    This tutorial shows how to create an OData endpoint that supports basic CRUD operations, using ASP.NET Web API.

  2. OData Entity Relations in Web API 2

    By Mike Wasson|

    Shows how to support links and navigation properties between related entities.

  3. OData Actions in Web API 2

    By Mike Wasson|

    Actions are a way to add server-side behaviors that are not easily defined as CRUD operations on entities.

  4. Calling an OData Service From a .NET Client

    By Mike Wasson|

    This tutorial shows how to call an OData service from a C# client application. Software versions used in the tutorial Visual Studio 2013 (works with Visual Studio 2012) WCF Data Services Client Lib...

  5. OData Query Options

    By Mike Wasson|

    Shows how to use query options to sort, filter, and page the results of an OData query.

  6. Using $select, $expand, and $value in Web API 2

    By Mike Wasson|

  7. OData Routing Conventions

    By Mike Wasson|

    Describes how Web API routes OData requests.

  8. OData Security Guidance

    By Mike Wasson|

  9. A New Option for Creating OData: Web API

    In this MSDN Magazine article, Julie Lerman shows how to create an OData feed using ASP.NET Web API.

Essential Videos

Pluralsight

Microsoft has made it possible for you to enjoy this Pluralsight training free of charge. In addition, you can watch more videos free of charge from Microsoft.

1. Introduction

54 mins

2. Uniform Interface

46 mins

3. HttpClient

33 mins

4. Hosting

25 mins

5. Security

10 mins

6.Extensbility

27 mins

Sponsored By: Pluralsight

Get unlimited access to hundreds of Pluralsight online courses like this one.

Starting at $29/mo.

Free Trial! Free Subscribe Now!

Web API Books

Microsoft's Jon Galloway recommends these books for learning ASP.NET MVC:

Pro ASP.NET Web API

Pro ASP.NET Web API

by Tugberk Ugurlu, Alexander Zeitler

Designing Evolvable Web APIs with ASP.NET

Designing Evolvable Web APIs with ASP.NET

by Glenn Block, Pablo Cibraro, Pedro Felix, Howard Dierking, Darrel Miller

ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish

ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish

by Jamie Kurtz