Namespace:
System.Web.RoutingBase:Collection
提供了一个Asp.net Routing的Route的集合。
编辑Example
C#:
void Application_Start(object sender, EventArgs e)
{
RegisterRoutes(RouteTable.Routes);
}
public static void RegisterRoutes(RouteCollection routes)
{
routes.Add(new Route
(
"Category/{action}/{categoryName}"
, new CategoryRouteHandler()
));
}