What is the difference between Web API and MVC Controller?

Differences between MVC (Model, View, Controller) and ASP.NET Web API are: MVC is for developing applications that return both data and views, while Web API only returns data using the HTTP services. They trace actions differently. Web API traces based on the HTTP service and MVC traces based on the action name.

vWeb API Controller
vMVC Controller

 

Post a Comment

Previous Post Next Post