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 POST
s? In other words, how does it work with form submissions and the like? Should I just put the URL of theGET
method in, or should I use theGET
method URL without any parameters (as inHTTP POST
they 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=value
rather than/controller/action/{id}
?
Thanks in advance.