MVC3 RESTful API Routing & Http Verb Handling
问题 I want to build a RESTful Json Api for my MVC3 application. I need help with handling multiple Http Verbs for the manipulation of a single object instance. What I've read/studied/tried MVC attributes ( HttpGet , HttpPost , etc.) allow me to have a controller with multiple actions sharing the same name, but they still must have different method signatures. Route constraints happen in the routing module before MVC kicks in and would result in me having 4 explicit routes, and still require