HI WELCOME TO KANSIRIS

Content Negotiation in ASP.NET WebAPI

Leave a Comment
 As the name suggest, Web API, an Application Programming Interface for Web. In other words, it’s a framework which is used to create services aka API’s which can be consumed by clients using browser or tablets or mobile devices. Basically, it is used to create RESTful services. To find more over REST, have a look into Difference between SOAP And REST APIs. Whenever we consume an API, we receive data in either JSON or XML or.

Comparing Asp.Net Web API Routing and Asp.Net MVC Routing

Leave a Comment
 As you know, Routing is a pattern matching system that monitor the incoming request and figure out what to do with that request. A URL pattern is matched against the routes patterns defined in the Route dictionary in an Order and the first match wins. This means the first route which successfully matches a controller, action, and action parameters defined in the URL will call into the specified controller and action.Asp.Net MVC application and Asp.Net Web API must have at least one route defined in.

Passing multiple complex type parameters to ASP.NET Web API

Leave a Comment
 Asp.Net Web API introduces a new powerful REST API which can be consume by a broad range of clients including browsers, mobiles, iphone and tablets. It is focused on resource based solutions and HTTP verbs.Asp.Net Web API has a limitation while sending data to a Web API controller. In Asp.Net Web API you can pass only single complex type as a parameter. But sometimes you may need to pass multiple complex types as parameters,.

ASP.NET Web API Versioning Strategies

Leave a Comment
 Web API Versioning is required as the business grows and business requirement changes with the time. As Web API can be consumed by multiple clients at a time, Versioning of Web API will be necessarily required so that Business changes in the API will not impact the client that are using/consuming the existing API.Web API Versioning WaysWeb API Versioning can be done by using the following methods:URIQueryString parameterCustom.