How can ASP.NET MVC4 use Web Services
Posted on 2013-01-10
Hi, I am fairly new to asp mvc, I have been through some walk-thoughs and understand the overall principal, what I am struggling to grasp is where web services fit in.
So lets say I want to build a web app that will run on browsers and mobiles (via a browser), this is all doable with straight mvc and some clever views that will serve pages properly for the target device - all fine.
Now if somewhere down the line I want to write dedicated mobile apps, my understanding is that these apps need to communicate with web services but now my whole backend is mvc controllers - so by my thinking I should really be creating an mvc patterned app that uses web services to drive its data and logic.
1. Am I reasoning this out correctly or am I mixing technologies that are unrelated?
2. What is the best way to approach an a dev project that will target a wide range of devices?