Click here to Skip to main content
15,937,779 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
Hello, I want to develop such a service which accepts request from any type of device (Android, Ios, Windows). And after request is taken i want to handle business logic. And whatever result i will get from business layer i want to surpass it to the Devices via services.
Currently i am thinking about to use web api.
So I want to know is that is there will be any need of mvc implementation or individual web api project can handle all this.

business layer <===> Web Api<===> Device type [ios, windows, android,...]

plz reply...
Posted
Comments
Sergey Alexandrovich Kryukov 2-Nov-15 1:39am    
Your project? What project? I don't know about it.
Please don't bother to clarify it; better think of my question as a hint for you. :-)
—SA

1 solution

MVC is a design pattern to create a web application.
WebAPI is similar to the MVC (in terms of Controllers, Models, Routes etc), you can expose it to any device i.e Android, iOS, WP by consuming it.

So the short answer would be: If you want your service to be consumed on web-based project, you can certainly think of an MVC.

-KR
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900