Pluralsight blog Where devs, IT admins & creative pros go for news, tips, videos and more.
Pluralsight + Digital-Tutors - 3,000 tech & creative courses - starting at $29/month Get it now →
March 5, 2013

New Course: Building ASP.NET Web API OData Services


Brian Noyes has just published a new course: Building ASP.NET Web API OData Services

ASP.NET Web API has been out since last fall, but one thing that was missing was a standardized way to do CRUD (Create-Read-Update-Delete) data services via Web API. OData is an open standard procotol for doing exactly that, so a natural alignment of technology is for ASP.NET Web API to support exposing OData services. With the recent ASP.NET and Web Tools 2012.2 release, Web API now does support OData, and Brian’s new course on using those capabilities is the perfect place to start to figure out how to leverage them.

This course starts off with Brian giving you a great quick start on how to use ASP.NET Web API in general, along with some good background on the REST architectural style for designing services and the high level details of the OData protocol. Next he covers the OData ecosystem, getting you familiar with the similarities and differences between WCF Data Services and ASP.NET Web API, as well as some of the other tools and platforms available for building and consuming OData services. He then dives into supporting one of the most powerful aspects of OData – OData queries. He shows how to quickly add OData query support to your Web APIs, whether you return OData formatted messages or not. You will learn about the syntax of the URL’s that represent those queries, as well as how your Web API can translate those into LINQ queries that lets the client issue powerful query combinations without needing to implement separate service methods for each kind of query a client wants to issue.

Next, Brian’s course shows you how to set up an Entity Data Model so that you can support OData formatting of your services requests and responses in either ATOM or JSON formats. This lets your services comply more completely with the OData specification, which means it will be that much easier to consume your OData services from multiple client platforms including Windows, Windows Phone, iOS, or Android. Next up is how to issue updates (the CUD of CRUD) using OData formats and addressing. Finally he finishes off with a module showing how you can easily consume your Web API OData services from .NET client with the WCF Data Services client libraries, and from JavaScript with JQuery, DataJS, or Breeze.js.

Click here for the TOC and get started learning about building ASP.NET Web API OData services now. This Brian’s second course in the Pluralsight library. If you are a client application developer and considering the move to Windows 8 and Windows Store application, be sure to check out his course Building Windows 8 MVVM XAML Applications as well.

About the Author