Author: .NET Web Development and Tools Blog | Posted on: 11/1/2013 9:05:03 PM | Views : 2379

With the release of Microsoft ASP.NET Web API 2 OData, we have introduced support for batching requests. Batching is a web API feature that allows a customer to pack several API requests and send them to the web API service in one HTTP request and receive a single HTTP response with the response to all their requests. This way, the client can optimize calls to the server and improve the scalability of its service. For a more in depth look at the batch support, you can take a look at the specification . Batch in Web API In order to start using batch in Web API, the only requirement is to register a route with a batch handler. Let’s start by creating the server. For this sample we will be using the brand new OWIN host for Web API. The code below...(read more)

Go to the complete details ...