asp.net 4.0 web forms routing – default/wildcard route
You can match all remaining routes like this: routes.MapPageRoute(“defaultRoute”, “{*value}”, “~/Missing.aspx”); In this case, we know all routes, and want to send anything else to a “missing”/404 page. Just be sure to put this as the last route, since it is a wildcard and will catch everything. Alternatively you could register a route the same … Read more