WebAPI

Authenticate Web API using Access Tokens

Mira Javora

In a common Web API scenario, you may want to secure your endpoints so that certain actions can only be executed by authenticated users who posses the correct permissions and are authorised to access the endpoints. For example, you would not want expose your DELETE endpoint of a resource to the general public.

Content Negotiation with ASP.NET Web API

Content Negotiation with ASP.NET Web API

Mira Javora
An important part of Web API is resource content negotiation. The HTTP protocol RFC defines content negotiation as the process of selecting the best representation for a given response when there are multiple representations available. In practise the same resource can be represented in a variety of different ways – lets say a contact information resource can be shown in JSON representation, but also in XML or even as a PNG QR code containing the same content.
Getting Started with ASP.NET Web API

Getting Started with ASP.NET Web API

Mira Javora
There are several options you can go for when deciding what technology you adopt for your RESTful API. In fact, you’ve got lots to chose from.