Type in a url in the address bar to see which defined routes match it. A {*catchall} route is added to the list of routes automatically in case none of your routes match.
To generate URLs using routing, supply route values via the query string. example: http://localhost:14230/?id=123
: NO MATCH!
Key | Value |
---|
Key | Value |
---|
Matches Current Request | Url | Defaults | Constraints | DataTokens |
---|---|---|---|---|
False | api/{controller}/{action}/{Type}/{LookupId} | user = , pass = | (empty) | (null) |
False | api/{controller}/{action}/{Id} | Id = | (empty) | (null) |
False | api/{controller}/{id} | id = | id = \d+ | (null) |
False | api/{controller}/{action} | (empty) | (empty) | (null) |
False | api/{controller}/{action}/{Data} | action = Post | httpMethod = System.Web.Http.Routing.HttpMethodConstraint | (null) |
False | {resource}.axd/{*pathInfo} | (null) | (empty) | (null) |
True | {*catchall} | (null) | (null) | (null) |
Current Request Info
AppRelativeCurrentExecutionFilePath is the portion of the request that Routing acts on.
AppRelativeCurrentExecutionFilePath: ~/