ASP.NET Web API 2 is a framework for building HTTP services for clients like browsers and mobile devices. It is based on the Microsoft .NET Framework and an ideal choice for building RESTful services.
Web API 2 now includes annotation-based routing.
Developers can assign custom paths to Methods in Web API 2 Controllers. This greatly extends the versatility of Web API, as the original was limited to having 4 methods for each Controller (Get, Post, Put, Delete).