Reputation: 2752
I am testing the new web api from asp.net mvc 4, I don' t see much advantages over a current action controller call from existing asp.net mvc 3.
action controller from mvc 3 can return json very much the same manner as web api.
I have 2 questions concerning the web api:
Thanks
Upvotes: 1
Views: 1534
Reputation: 7443
You're comparing apples with oranges. The Web Api framework has been developed as a viable replacement for WCF or other ASP .Net service based technologies. The Web Api framework is not intended to be a replacement for MVC. To answer your questions
Upvotes: 9