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.
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.