Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
Partner API
Composite API
Open API
Internal API
Composite API
Soap API
FullContact API
Amazon S3 API
Boss Mobile
Fujezone Mobile
 Nokia Mobile
 :) Hot Jobs
 
 :) Latest Articles


  

 


Write the five most common differences between MVC and WEBAPI?
Question Posted on 04 Aug 2021

Home >> API >> Web API >> Write the five most common differences between MVC and WEBAPI?




Write the five most common differences between MVC and WEBAPI?
Below are the five most common differences between MVC and WEB API.


MVC and WEB API
0
0

WEB APIMVC
WEB API is basically used to build HTTP services which reply only data.We used MVC to build web application which reply as both data and views.
WEB API will returns data in different formats just like JSON, XML etc.MVC will returns data basically in JSON format by using JSONResult.
WEB API will not support content negotiation and self-hosting.MVC will supports content negotiation and self-hosting.
WEB API will very helpful in creating REST-full services.In MVC we cannot able to build REST-full services.
WEB API will returns REST reponses.MVC will return a view which is as HTML.


 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
What do you mean by content negotiation in .NET Web API?
Is it possible to return view from .NET Web API method?
Difference between RESTAPI and RESTful API?
Write the five most common differences between MVC and WEBAPI?
What do you mean by TestAPI?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |