What is the difference between HTTPResponseMessage and IHttpActionResult?

v In web API version 1.0, We have a response type class called HttpResponseMessage for returning Http response message from API.

 

v In Web API version 2.0 IHttpActionResult/ IActionResult is introduced which is basically the replacement of HttpResponseMessage.

 


Post a Comment

Previous Post Next Post