What is difference between Web API Controller and MVC Controller ?
this question is asked in interview.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajkiran SwainPosted May 7, 2018, 9:19 AM
Rijwan AnsariPosted Nov 12, 2021, 11:10 AM
Vikas PanwarPosted Nov 12, 2021, 8:55 AM
geetha velusamyPosted Nov 11, 2021, 2:25 PM
Asp.Net MVC is used to create web applications that return both views and data but Asp.Net Web API is used to create full-blown HTTP services with an easy and simple way that returns only data, not view. Web API helps to build REST-ful services over the MVC only return data in JSON format using JsonResult.
WebApiController: