Explain the difference between MVC vs ASP.NET Web API

Technology CommunityCategory: ASP.NET MVCExplain the difference between MVC vs ASP.NET Web API
VietMX Staff asked 3 years ago
  • The purpose of Web API framework is to generate HTTP services that reach more clients by generating data in raw format, for example, plain XML or JSON string. So, ASP.NET Web API creates simple HTTP services that renders raw data.
  • On the other hand, ASP.NET MVC framework is used to develop web applications that generate Views (HTML) as well as data. ASP.NET MVC facilitates in rendering HTML easy.