Getting Started With ASP.NET Web API - Tutorials, Videos, Samples

I would like to point you those resources (Tutorials, Videos, Samples) in order to get started with ASP.NET Web API.
2012-02-24 08:49
Tugberk Ugurlu

ASP.NET team shipped the beta version of ASP.NET Web API which has been known as WCF Web API for more than a year. It has seen 6 preview versions and we have now nearly the final bits and pieces. The beta version of the product has been merged with ASP.NET MVC so that we won’t feel ourselves in a fork in the road in order to create REST APIs.

In my opinion, ASP.NET Web API is really exciting because it offers a simple and pluggable way to expose your data to the World. The one of the best parts is that you don’t have to just expose it as XML or JSON. You have the XML and JSON support out of the box but the format of the data is really up to you. Since nearly all of the devices out there today know how to communicate through HTTP, your data has the best possible reach.

One of the other great features of ASP.NET Web API is that everything has been built asynchrony in mind. So, you can scale out very easily. On the other hand, don’t act prejudicial that it is ASP.NET based and cannot run anywhere other than IIS. It has a self hosting capability as well (I honestly don’t know how it works at the background but it looks promising).

It has been not much since the product beta version has shipped but there are pretty good blog posts and articles about ASP.NET Web API out there. Instead of writing one, I would like to point you those resources.


The follwing set of blog posts have been wtitten based on the beta release of ASP.NET Web API. It is highly likely that there will be some sort of conflicts if you are playing with a later version of the product.

Getting Started


Validation, Data Annotations & Model Binding

Message Handlers, Filters & Formatters


Dependency Injection & Unit Testing

Self Hosting



Also, there are some great videos done by @jongalloway on ASP.NET web site as well as some other videos:

ASP.NET Web API Video Series

ASP.NET Web API Videos of Mine On NedirTv (In Turkish)

Some Other Great Talks, Webcasts and Other Type of Visuals

After-Beta Resources

The following blog posts target the features and changes which will be available for the next release of the product after beta.

Some Other Great Talks, Webcasts and Other Type of Visuals

If you have any other related blog post, tutorial, sample or whatever related to ASP.NET Web API, please comment and I will add them to this list. I will also add new things to this list that I come across. Enjoy:)


Gabriel Perez
by Gabriel Perez on Thursday, Mar 01 2012 20:40:36 +02:00
by Tugberk on Thursday, Mar 01 2012 20:46:23 +02:00


Looks great. Added it, thanks!

by Dominick on Friday, Mar 02 2012 18:07:19 +02:00

Maybe thats interesting as well:

by Tugberk on Friday, Mar 02 2012 20:20:09 +02:00


Nice, added it under samples.

by Vvk on Sunday, Mar 04 2012 04:06:54 +02:00
Manuel Ortiz
by Manuel Ortiz on Wednesday, Mar 07 2012 05:56:45 +02:00

Hi, I have been looking everywhere but cannot find the answer to this question. I am developing a RESTful API using WebAPI and want to do the following. Suppose you have a list of movies and each movie has a list of actors each with their own properties (eg.: age, sex, birthday, etc.). I would like to present the response of that subset of actors with URI’s inside every movie as follows:

The Artist


Is there anyway to automatically do the uri thing inside the “actor” tag using WebAPI?

Gabriel Perez
by Gabriel Perez on Friday, Mar 09 2012 17:21:47 +02:00

Here is a new one for your list:

Thanks for keeping a centrilized list of links, very useful to everyone!


Andy COhen
by Andy COhen on Tuesday, Mar 13 2012 23:03:43 +02:00

This is a fantastic compilation.

by anil on Monday, Jul 02 2012 07:14:14 +03:00

Pls help me How to consume WCF Rest enable Service in ASP.NET webpages,

Rest enable service is a CLOUD service (or) not?