You can add a web service to the project in the same way as in regular ASP.NET web applications, however MVC is basically a web service. You can create a controller that processes all the requests that you want your web service to handle.
With the advent of MVC, quite often you have to make applications that ever load a view once, and then use AJAX and client scripts for almost the entire life of the application. Your AJAX calls simply click on action methods for your products, and then use the delicious JSON information to analyze the data and use it.
In my opinion, creating a web service as a controller instead of using [WebMethods] is much simpler and much more fun!
Chev
source share