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
: {namespaces}/{controller}/{action}
Key | Value |
---|---|
namespaces | book |
controller | 1757852 |
action | 11825 |
Key | Value |
---|---|
Namespaces | System.String[] |
Matches Current Request | Url | Defaults | Constraints | DataTokens |
---|---|---|---|---|
False | {resource}.axd/{*pathInfo} | (null) | (empty) | (null) |
False | {resource}.axd/{*pathInfo} | (null) | (empty) | (null) |
False | School/{SchoolID} | controller = School, action = Details, SchoolID = 0 | SchoolID = [\d]* | Namespaces = YFPC.Controllers |
False | News/{NewsID} | controller = News, action = Details, NewsID = 0 | NewsID = [\d]* | Namespaces = YFPC.Controllers |
False | News/List/{ID} | controller = News, action = List, ID = 0 | ID = [\d]* | Namespaces = YFPC.Controllers |
False | Book/{BookID} | controller = Book, action = Details, BookID = 0 | BookID = [\d]* | Namespaces = YFPC.Controllers |
False | Volunteer/{ID} | controller = Volunteer, action = Details, ID = 0 | ID = [\d]* | Namespaces = YFPC.Controllers |
False | Login/BindPhone/{Key} | controller = Login, action = BindPhone, Key = 0 | (empty) | Namespaces = YFPC.Controllers |
False | Login/MergeUser/{Key} | controller = Login, action = MergeUser, Key = 0 | (empty) | Namespaces = YFPC.Controllers |
False | User/MyDonate/{ID} | controller = User, action = MyDonate, ID = 0 | ID = [\d]* | Namespaces = YFPC.Controllers |
False | Donate/Pay/{SchoolID} | controller = Donate, action = Pay, SchoolID = 0 | SchoolID = [\d]* | Namespaces = YFPC.Controllers |
True | {namespaces}/{controller}/{action} | namespaces = API | (empty) | Namespaces = YFPC.Controllers.API |
True | {controller}/{action}/{id} | controller = Home, action = Index, id = UrlParameter.Optional | (empty) | Namespaces = YFPC.Controllers |
True | {*catchall} | (null) | (null) | (null) |
Current Request Info
AppRelativeCurrentExecutionFilePath is the portion of the request that Routing acts on.
AppRelativeCurrentExecutionFilePath: ~/book/1757852/11825