In my ASP.NET MVC application, I want to use this ASP.NET MVC Attribute Based Route Mapper, first announced here.
So far, I understand how to implement code that uses it, but I've run into a few questions that I think those who have used this attribute-based route mapper in the past will be able to answer.
- How do I use it with ActionResults that are for
HTTP POSTs? In other words, how does it work with form submissions and the like? Should I just put the URL of theGETmethod in, or should I use theGETmethod URL without any parameters (as inHTTP POSTthey aren't passed in through the URL)? - How do I use it with "URL querystring parameters"? Can the attribute be configured to map to a route such as
/controller/action?id=valuerather than/controller/action/{id}?
Thanks in advance.