Skip to content

Instantly share code, notes, and snippets.

@james-dibble
Created May 17, 2014 12:20
Show Gist options
  • Save james-dibble/f41fbb80630ee5dc6b1d to your computer and use it in GitHub Desktop.
Save james-dibble/f41fbb80630ee5dc6b1d to your computer and use it in GitHub Desktop.
Example route being added to RouteCollection
routes.Add(
new Route(
"product/{productCategory}/filter/{*filters}",
new RouteValueDictionary
{
{ "controller", "Product" },
{ "action", "Filter" }
},
new DictionaryRouteHandler<int, string>("filters")));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment