Route Debugger

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}

Route Data
KeyValue
controllerHome 
actionIndex 
Data Tokens
KeyValue

All Routes
Matches Current Request Url Defaults Constraints DataTokens
Falseapi/{controller}/{id}id = id = \d+(null)
Falseapi/{controller}/addr-{py}py = py = [A-Za-z\u4e00-\u9fa5]+(null)
Falseapi/{controller}/city-{city}city = city = [A-Za-z\u4e00-\u9fa5]+(null)
Falseapi/{controller}/gjj{gcity}gcity = gcity = \d+(null)
Falseapi/{controller}/{id}/{ac}/m{cnum}id = , ac = , cnum = id = \d+, ac = \d+, cnum = \d+(null)
Falseapi/{controller}/{id}/{ac}/{num}id = , ac = , num = id = \d+, ac = \d+, num = \d{1,18}(-\d{1,2})?(null)
Falseapi/{controller}/{typeid}/{id}typeid = , id = typeid = \d+, id = \d+(null)
Falseapi/{controller}/detail{lawid}lawid = lawid = \d+(null)
Falseapi/{controller}/art{articleid}articleid = articleid = \d+(null)
Falseapi/{controller}/{id}-{page}id = , page = id = \d+, page = \d+(null)
Falseapi/{controller}/{typeid}/{id}typeid = , id = typeid = \d+, id = \d+(null)
Falseapi/{controller}/{typeid}/{id}-{page}typeid = , id = , page = typeid = \d+, id = \d+, page = \d+(null)
Falseapi/{controller}/{aid}/{yearid}/{typeid}/{id}yearid = , typeid = , aid = , id = yearid = \d+, typeid = \d+, aid = \d+, id = \d+(null)
Falseapi/{controller}/{aid}/{yearid}/{typeid}/{id}-{page}yearid = , typeid = , aid = , id = , page = yearid = \d+, typeid = \d+, aid = \d+, id = \d+, page = \d+(null)
Falseapi/{controller}/{aid}/{yearid}/{typeid}/{id}-p{pi}yearid = , typeid = , aid = , id = , pi = yearid = \d+, typeid = \d+, aid = \d+, id = \d+, pi = \d+(null)
Falseapi/{controller}/p{pageIndex}/s{pageSize}pageIndex = , pageSize = pageIndex = \d+, pageSize = \d+(null)
Falseapi/{controller}/l{spageIndex}/l{spageSize}spageIndex = , spageSize = spageIndex = \d+, spageSize = \d+(null)
Falseapi/{controller}/user{userId}userId = userId = \d+(null)
False{resource}.axd/{*pathInfo}(null)(empty)(null)
True{controller}/{action}/{id}controller = Home, action = Index, 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: ~/