As a newbie to MVC4 + Entity + WebAPI, I was frustrated by the fact that I just had GET, POST controller handlers, and user mappings with data models.
I think I am asking if there is a generation tool, for example, to make my controller class from your data class so that I can just execute simple GET commands directly from the data?
What is the approach for creating a generic RESTful API, so commands can be made as such
GET api / 1.0 / {genericdatatype} / {id}
where can a common data type be any model and specific controllers? Let's say I don't need PUT (handled through an MVC application), so I really don't need POST checking, etc.
source
share