I was a longtime ASP.NET developer in the web form model, and I'm using the new project as an opportunity to get my feet wet using ASP.NET MVC.
An application will need an API so that a group of other applications can communicate with it. I always created the API only using the standard web service before that.
As a side element, I hesitate a little to dive into the REST style to create an API, at least for this particular instance. For this application, most likely, you will need the concept of API version control, and I think that the REST approach, where the API is essentially scattered across all site controllers, is a bit cumbersome in this regard. (But I am not completely against this if there is a good answer to the potential demand potential version.)
So what do you inhabitants say?
Ken randall
source share