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
: {controller}/{action}/{id}
: /Therapy/ChooseExercise?aphasiaType=Motorial using the route "{controller}/{action}/{id}"
Key | Value |
---|---|
controller | Therapy |
action | ChooseExercise |
Key | Value |
---|
Matches Current Request | Url | Defaults | Constraints | DataTokens |
---|---|---|---|---|
False | {resource}.axd/{*pathInfo} | (null) | (empty) | (null) |
True | {controller}/{action}/{id} | controller = Home, action = Menu, id = UrlParameter.Optional | (empty) | (empty) |
True | {*catchall} | (null) | (null) | (null) |
Current Request Info
AppRelativeCurrentExecutionFilePath is the portion of the request that Routing acts on.
AppRelativeCurrentExecutionFilePath: ~/Therapy/ChooseExercise