Language

What's new in ASP.NET Web API 2

  1. External Authentication in Web API 2

    By Robert McMurray|

    Shows how to use external authentication services, including Microsoft Accounts, Twitter, Facebook, and Google, to authenticate a web API.

  2. Enabling Cross-Origin Requests in Web API

    By Mike Wasson|

    Shows how to support Cross-Origin Resource Sharing (CORS) in ASP.NET Web API 2.

  3. Create a REST API with Attribute Routing

    By Mike Wasson|

    This end-to-end tutorial shows how to use attribute routing to define URIs for a REST API.

  4. Use OWIN to Host Web API in an Azure Worker Role

    By Mike Wasson|

    This tutorial shows how to host ASP.NET Web API in an Azure Worker Role, using OWIN to self-host the Web API framework.

  5. Attribute Routing in Web API 2

    By Mike Wasson|

    Web API 2 introduces a new form of routing that uses attributes to define routes. This topic gives an overview of attribute routing.

  6. IHttpActionResult, a New Way to Create Responses in Web API

    In this blog post, Filip Woj. shows how use the new IHttpActionResult feature in ASP.NET Web API 2 to serve HTML or preset headers in a response.

  7. Using $select, $expand, and $value in Web API OData

    By Mike Wasson|

    Use the $select, $expand, and $value options in OData to shape the response from the server.